diff --git a/etc/api/pubsub/v1/crates/2.0.4-api+20210322 b/etc/api/pubsub/v1/crates/2.0.4-api+20210322 new file mode 100644 index 0000000000..e69de29bb2 diff --git a/gen/abusiveexperiencereport1-cli/Cargo.toml b/gen/abusiveexperiencereport1-cli/Cargo.toml index 7533adb467..3a82222d95 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/abusiveexperiencereport1-cli/README.md b/gen/abusiveexperiencereport1-cli/README.md index b54ae0b900..79ddca2058 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.3*. +This documentation was generated from the *Abusive Experience Report* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash abusiveexperiencereport1 [options] diff --git a/gen/abusiveexperiencereport1-cli/mkdocs.yml b/gen/abusiveexperiencereport1-cli/mkdocs.yml index 9df2fa5124..b9c0bedfed 100644 --- a/gen/abusiveexperiencereport1-cli/mkdocs.yml +++ b/gen/abusiveexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Abusive Experience Report v2.0.3+20210329 +site_name: Abusive Experience Report v2.0.4+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 8e66493125..8b89c50286 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.3+20210329") + .version("2.0.4+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 767f6157a5..fb3df04a00 100644 --- a/gen/abusiveexperiencereport1/Cargo.toml +++ b/gen/abusiveexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-abusiveexperiencereport1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329" license = "MIT" keywords = ["abusiveexperiencerep", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/abusiveexperiencereport1/README.md b/gen/abusiveexperiencereport1/README.md index 8de5e76bba..291ad69377 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.3+20210329*, where *20210329* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport) ... * sites - * [*get*](https://docs.rs/google-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/api::SiteGetCall) + * [*get*](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/api::SiteGetCall) * violating sites - * [*list*](https://docs.rs/google-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/api::ViolatingSiteListCall) + * [*list*](https://docs.rs/google-abusiveexperiencereport1/2.0.4+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.3+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport)** +* **[Hub](https://docs.rs/google-abusiveexperiencereport1/2.0.4+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.3+20210329/google_abusiveexperiencereport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/client::Part)** + * **[Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-abusiveexperiencereport1/2.0.3+20210329/google_abusiveexperiencereport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-abusiveexperiencereport1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_abusiveexperiencereport1/client::RequestValue) and -[decodable](https://docs.rs/google-abusiveexperiencereport1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_abusiveexperiencereport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-abusiveexperiencereport1/2.0.4+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 b014b1bcdc..3b244a6c05 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/abusiveexperiencereport1/src/client.rs b/gen/abusiveexperiencereport1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/abusiveexperiencereport1/src/client.rs +++ b/gen/abusiveexperiencereport1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/abusiveexperiencereport1/src/lib.rs b/gen/abusiveexperiencereport1/src/lib.rs index 3fef124c42..90b2f7510e 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.3+20210329*, where *20210329* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Abusive Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/abusive-experience-report/). diff --git a/gen/acceleratedmobilepageurl1-cli/Cargo.toml b/gen/acceleratedmobilepageurl1-cli/Cargo.toml index c3e0863705..db49c9ce32 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/acceleratedmobilepageurl1-cli/README.md b/gen/acceleratedmobilepageurl1-cli/README.md index ee3883f518..aa7c7d35f2 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.3*. +This documentation was generated from the *Acceleratedmobilepageurl* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash acceleratedmobilepageurl1 [options] diff --git a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml index 1173dd3d33..42fccb4c67 100644 --- a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml +++ b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Acceleratedmobilepageurl v2.0.3+20210330 +site_name: Acceleratedmobilepageurl v2.0.4+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 e837ded341..44814caf90 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.3+20210330") + .version("2.0.4+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 fcb8b1c948..e9612700cc 100644 --- a/gen/acceleratedmobilepageurl1/Cargo.toml +++ b/gen/acceleratedmobilepageurl1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-acceleratedmobilepageurl1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330" license = "MIT" keywords = ["acceleratedmobilepag", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/acceleratedmobilepageurl1/README.md b/gen/acceleratedmobilepageurl1/README.md index 18a21200d9..888a55ec96 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.3+20210330*, where *20210330* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl) ... -* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/api::AmpUrl) - * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/api::AmpUrlBatchGetCall) +* [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) @@ -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.3+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl)** +* **[Hub](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+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.3+20210330/google_acceleratedmobilepageurl1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/client::CallBuilder) -* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/client::Part)** + * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-acceleratedmobilepageurl1/2.0.3+20210330/google_acceleratedmobilepageurl1/client::Delegate) to the -[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_acceleratedmobilepageurl1/client::RequestValue) and -[decodable](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_acceleratedmobilepageurl1/client::RequestValue) are moved +* [request values](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+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 7ef33283d5..e8f2b384c8 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/acceleratedmobilepageurl1/src/client.rs b/gen/acceleratedmobilepageurl1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/acceleratedmobilepageurl1/src/client.rs +++ b/gen/acceleratedmobilepageurl1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/acceleratedmobilepageurl1/src/lib.rs b/gen/acceleratedmobilepageurl1/src/lib.rs index 656e8f5c0d..09c5cd2c09 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.3+20210330*, where *20210330* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Acceleratedmobilepageurl* *v1* API can be found at the //! [official documentation site](https://developers.google.com/amp/cache/). diff --git a/gen/accessapproval1-cli/Cargo.toml b/gen/accessapproval1-cli/Cargo.toml index 5f3469a8b6..dcf47c3484 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/accessapproval1-cli/README.md b/gen/accessapproval1-cli/README.md index 8b0a9a1845..05fbaed668 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.3*. +This documentation was generated from the *Access Approval* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash accessapproval1 [options] diff --git a/gen/accessapproval1-cli/mkdocs.yml b/gen/accessapproval1-cli/mkdocs.yml index adb6a40830..a5c1b72be1 100644 --- a/gen/accessapproval1-cli/mkdocs.yml +++ b/gen/accessapproval1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Approval v2.0.3+20210318 +site_name: Access Approval v2.0.4+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 7be3c24066..2c6ee583f0 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.3+20210318") + .version("2.0.4+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 5e934f82c4..e61b1cc645 100644 --- a/gen/accessapproval1/Cargo.toml +++ b/gen/accessapproval1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accessapproval1" -version = "2.0.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-accessapproval1/2.0.4+20210318" license = "MIT" keywords = ["accessapproval", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/accessapproval1/README.md b/gen/accessapproval1/README.md index 1e5efb7252..7b3d7f6478 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.3+20210318*, where *20210318* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_accessapproval1/AccessApproval) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/AccessApproval) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::FolderUpdateAccessApprovalSettingCall) + * [*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) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::OrganizationUpdateAccessApprovalSettingCall) + * [*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) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/api::ProjectUpdateAccessApprovalSettingCall) + * [*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) @@ -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.3+20210318/google_accessapproval1/AccessApproval)** +* **[Hub](https://docs.rs/google-accessapproval1/2.0.4+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.3+20210318/google_accessapproval1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/client::Part)** + * **[Parts](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1/2.0.3+20210318/google_accessapproval1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-accessapproval1/2.0.3+20210318/google_accessapproval1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accessapproval1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_accessapproval1/client::RequestValue) and -[decodable](https://docs.rs/google-accessapproval1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_accessapproval1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accessapproval1/2.0.4+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 b8b0a1518b..2177b5d406 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/accessapproval1/src/client.rs b/gen/accessapproval1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/accessapproval1/src/client.rs +++ b/gen/accessapproval1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/accessapproval1/src/lib.rs b/gen/accessapproval1/src/lib.rs index df44a5edfd..f4bef5940a 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.3+20210318*, where *20210318* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Access Approval* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/access-approval/docs). diff --git a/gen/accessapproval1_beta1-cli/Cargo.toml b/gen/accessapproval1_beta1-cli/Cargo.toml index 359a1233f8..5c52662db3 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.3+20200708" +version = "2.0.4+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.3+20200708" +version = "2.0.4+20200708" diff --git a/gen/accessapproval1_beta1-cli/README.md b/gen/accessapproval1_beta1-cli/README.md index 1ba1eb748f..c9bf31367c 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.3*. +This documentation was generated from the *Access Approval* API at revision *20200708*. The CLI is at version *2.0.4*. ```bash accessapproval1-beta1 [options] diff --git a/gen/accessapproval1_beta1-cli/mkdocs.yml b/gen/accessapproval1_beta1-cli/mkdocs.yml index 0db695e39e..27dd9bb7b3 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.3+20200708 +site_name: Access Approval v2.0.4+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 f33a658fe5..7dc829332a 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.3+20200708") + .version("2.0.4+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 ede4884997..a8f14f6110 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.3+20200708" +version = "2.0.4+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.3+20200708" +documentation = "https://docs.rs/google-accessapproval1_beta1/2.0.4+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 0fc153bb67..0836f6b584 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.3+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200708/google_accessapproval1_beta1/AccessApproval) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/AccessApproval) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::FolderUpdateAccessApprovalSettingCall) + * [*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) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::OrganizationUpdateAccessApprovalSettingCall) + * [*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) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/api::ProjectUpdateAccessApprovalSettingCall) + * [*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) @@ -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.3+20200708/google_accessapproval1_beta1/AccessApproval)** +* **[Hub](https://docs.rs/google-accessapproval1_beta1/2.0.4+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.3+20200708/google_accessapproval1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accessapproval1_beta1/2.0.4+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. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-accessapproval1_beta1/2.0.3+20200708/google_accessapproval1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accessapproval1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200708/google_accessapproval1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-accessapproval1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1_beta1/2.0.3+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.4+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.3+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.4+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.3+20200708/google_accessapproval1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accessapproval1_beta1/2.0.4+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 fe29114dbb..d977551bf3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/accessapproval1_beta1/src/client.rs b/gen/accessapproval1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/accessapproval1_beta1/src/client.rs +++ b/gen/accessapproval1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/accessapproval1_beta1/src/lib.rs b/gen/accessapproval1_beta1/src/lib.rs index eae48f922a..f3be5b6b7e 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.3+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Access Approval* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/access-approval/docs). diff --git a/gen/accesscontextmanager1-cli/Cargo.toml b/gen/accesscontextmanager1-cli/Cargo.toml index 5f782b28f5..59f14e1ec8 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/accesscontextmanager1-cli/README.md b/gen/accesscontextmanager1-cli/README.md index d4559611c0..c81def49b0 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.3*. +This documentation was generated from the *Access Context Manager* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash accesscontextmanager1 [options] diff --git a/gen/accesscontextmanager1-cli/mkdocs.yml b/gen/accesscontextmanager1-cli/mkdocs.yml index fc25f728fa..2fdc1bf82e 100644 --- a/gen/accesscontextmanager1-cli/mkdocs.yml +++ b/gen/accesscontextmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v2.0.3+20210319 +site_name: Access Context Manager v2.0.4+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 6cd62d2746..2996cd6e1e 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.3+20210319") + .version("2.0.4+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 1fc2d67e26..771481de2f 100644 --- a/gen/accesscontextmanager1/Cargo.toml +++ b/gen/accesscontextmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-accesscontextmanager1/2.0.4+20210319" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/accesscontextmanager1/README.md b/gen/accesscontextmanager1/README.md index 602deb3489..c88020f995 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.3+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_accesscontextmanager1/AccessContextManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/AccessContextManager) ... -* [access policies](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicy) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelPatchCall), [*access levels replace all*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelReplaceAllCall), [*create*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyPatchCall), [*service perimeters commit*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCommitCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterListCall), [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterPatchCall) and [*service perimeters replace all*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterReplaceAllCall) -* [operations](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::Operation) - * [*cancel*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OperationCancelCall), [*delete*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OperationDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OperationGetCall) and [*list*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OperationListCall) +* [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) * organizations - * [*gcp user access bindings create*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingCreateCall), [*gcp user access bindings delete*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingDeleteCall), [*gcp user access bindings get*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingGetCall), [*gcp user access bindings list*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingListCall) and [*gcp user access bindings patch*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingPatchCall) + * [*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) @@ -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.3+20210319/google_accesscontextmanager1/AccessContextManager)** +* **[Hub](https://docs.rs/google-accesscontextmanager1/2.0.4+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.3+20210319/google_accesscontextmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/client::Part)** + * **[Parts](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-accesscontextmanager1/2.0.3+20210319/google_accesscontextmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_accesscontextmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-accesscontextmanager1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_accesscontextmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accesscontextmanager1/2.0.4+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 5544aa94e6..1bb9420243 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/accesscontextmanager1/src/client.rs b/gen/accesscontextmanager1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/accesscontextmanager1/src/client.rs +++ b/gen/accesscontextmanager1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/accesscontextmanager1/src/lib.rs b/gen/accesscontextmanager1/src/lib.rs index f19c7f58f0..f54d2f73df 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.3+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/accesscontextmanager1_beta-cli/Cargo.toml b/gen/accesscontextmanager1_beta-cli/Cargo.toml index 9d4a3f1afd..be443b5b0c 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/accesscontextmanager1_beta-cli/README.md b/gen/accesscontextmanager1_beta-cli/README.md index a42b87351c..4cf9fb3588 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.3*. +This documentation was generated from the *Access Context Manager* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash accesscontextmanager1-beta [options] diff --git a/gen/accesscontextmanager1_beta-cli/mkdocs.yml b/gen/accesscontextmanager1_beta-cli/mkdocs.yml index e7b1cbfa79..44a5fe4b91 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.3+20210319 +site_name: Access Context Manager v2.0.4+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 5a6bcbf3a0..aa77f24ac7 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.3+20210319") + .version("2.0.4+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 6b618febd8..86d0bbcdcd 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.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-accesscontextmanager1_beta/2.0.4+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 f693b89abe..d2fb1dc7e0 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.3+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_accesscontextmanager1_beta/AccessContextManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/AccessContextManager) ... -* [access policies](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicy) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelPatchCall), [*create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyPatchCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterListCall) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterPatchCall) -* [operations](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::Operation) - * [*get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/api::OperationGetCall) +* [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) @@ -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.3+20210319/google_accesscontextmanager1_beta/AccessContextManager)** +* **[Hub](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+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.3+20210319/google_accesscontextmanager1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/client::Part)** + * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+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. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-accesscontextmanager1_beta/2.0.3+20210319/google_accesscontextmanager1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_accesscontextmanager1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.3+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.4+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.3+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.4+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.3+20210319/google_accesscontextmanager1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+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 40f68c4e4c..678ccf1cb5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/accesscontextmanager1_beta/src/client.rs b/gen/accesscontextmanager1_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/accesscontextmanager1_beta/src/client.rs +++ b/gen/accesscontextmanager1_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/accesscontextmanager1_beta/src/lib.rs b/gen/accesscontextmanager1_beta/src/lib.rs index 3fa75bbe26..2109361459 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.3+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/adexchangebuyer1d3-cli/Cargo.toml b/gen/adexchangebuyer1d3-cli/Cargo.toml index 5cffe9e47b..ce75c485ff 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/adexchangebuyer1d3-cli/README.md b/gen/adexchangebuyer1d3-cli/README.md index 99e1d3d273..aa739e12f5 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.3*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash adexchangebuyer1d3 [options] diff --git a/gen/adexchangebuyer1d3-cli/mkdocs.yml b/gen/adexchangebuyer1d3-cli/mkdocs.yml index 5a0103cffd..c78f9db666 100644 --- a/gen/adexchangebuyer1d3-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v2.0.3+20210330 +site_name: Ad Exchange Buyer v2.0.4+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 84d23f518e..99ff3f1a2e 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.3+20210330") + .version("2.0.4+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 12317a3738..5560cd0bbf 100644 --- a/gen/adexchangebuyer1d3/Cargo.toml +++ b/gen/adexchangebuyer1d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d3" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangebuyer1d3/README.md b/gen/adexchangebuyer1d3/README.md index 9ef28fd2db..71e3405d1d 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.3+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.3*. +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*. 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.3+20210330/google_adexchangebuyer1d3/AdExchangeBuyer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/AdExchangeBuyer) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::Account) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::AccountUpdateCall) -* [billing info](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::BillingInfo) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::BillingInfoListCall) -* [budget](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::Budget) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::BudgetUpdateCall) -* [creatives](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::Creative) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::CreativeInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::CreativeListCall) -* [direct deals](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::DirectDeal) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::DirectDealGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::DirectDealListCall) -* [performance report](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PerformanceReport) - * [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PerformanceReportListCall) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfig) - * [*delete*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/api::PretargetingConfigUpdateCall) +* [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) @@ -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.3+20210330/google_adexchangebuyer1d3/AdExchangeBuyer)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d3/2.0.4+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.3+20210330/google_adexchangebuyer1d3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-adexchangebuyer1d3/2.0.3+20210330/google_adexchangebuyer1d3/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_adexchangebuyer1d3/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer1d3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.3+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.4+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.3+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.4+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.3+20210330/google_adexchangebuyer1d3/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d3/2.0.4+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 f75de6238c..085429cc11 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adexchangebuyer1d3/src/client.rs b/gen/adexchangebuyer1d3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adexchangebuyer1d3/src/client.rs +++ b/gen/adexchangebuyer1d3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs index f3e4765e2a..ec7e73806c 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.3+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.3*. +//! 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*. //! //! Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). diff --git a/gen/adexchangebuyer1d4-cli/Cargo.toml b/gen/adexchangebuyer1d4-cli/Cargo.toml index 27c02dbf55..0d83db507e 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/adexchangebuyer1d4-cli/README.md b/gen/adexchangebuyer1d4-cli/README.md index ac54812f49..81f5fe9423 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.3*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash adexchangebuyer1d4 [options] diff --git a/gen/adexchangebuyer1d4-cli/mkdocs.yml b/gen/adexchangebuyer1d4-cli/mkdocs.yml index cfbab18b1f..b6a529d170 100644 --- a/gen/adexchangebuyer1d4-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v2.0.3+20210330 +site_name: Ad Exchange Buyer v2.0.4+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 cdc3d3fbe5..dca9777e9b 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.3+20210330") + .version("2.0.4+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 c576c39b73..2ae7f1ef25 100644 --- a/gen/adexchangebuyer1d4/Cargo.toml +++ b/gen/adexchangebuyer1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d4" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangebuyer1d4/README.md b/gen/adexchangebuyer1d4/README.md index 9cda018483..a05a610431 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.3+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.3*. +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*. 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.3+20210330/google_adexchangebuyer1d4/AdExchangeBuyer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/AdExchangeBuyer) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::Account) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::AccountUpdateCall) -* [billing info](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::BillingInfo) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::BillingInfoListCall) -* [budget](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::Budget) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::BudgetUpdateCall) -* [creatives](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::Creative) - * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::CreativeAddDealCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::CreativeListCall), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::CreativeListDealCall) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::CreativeRemoveDealCall) +* [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) * marketplacedeals - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplacedealDeleteCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplacedealInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplacedealListCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplacedealUpdateCall) + * [*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) * marketplacenotes - * [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplacenoteInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplacenoteListCall) + * [*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) * marketplaceprivateauction - * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::MarketplaceprivateauctionUpdateproposalCall) -* [performance report](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PerformanceReport) - * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PerformanceReportListCall) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfig) - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PretargetingConfigUpdateCall) -* [products](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::Product) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProductGetCall) and [*search*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProductSearchCall) -* [proposals](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::Proposal) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProposalGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProposalInsertCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProposalPatchCall), [*search*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProposalSearchCall), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProposalSetupcompleteCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::ProposalUpdateCall) + * [*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) * pubprofiles - * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/api::PubprofileListCall) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+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.3+20210330/google_adexchangebuyer1d4/AdExchangeBuyer)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d4/2.0.4+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.3+20210330/google_adexchangebuyer1d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -159,17 +159,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-adexchangebuyer1d4/2.0.3+20210330/google_adexchangebuyer1d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_adexchangebuyer1d4/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer1d4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.3+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.4+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.3+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.4+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.3+20210330/google_adexchangebuyer1d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d4/2.0.4+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 f37d6be152..629ebd2cec 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adexchangebuyer1d4/src/client.rs b/gen/adexchangebuyer1d4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adexchangebuyer1d4/src/client.rs +++ b/gen/adexchangebuyer1d4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs index 351f841dc9..735da2539f 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.3+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.3*. +//! 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*. //! //! Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). diff --git a/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml b/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml index 626c136a89..0766f9aa41 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/adexchangebuyer2_v2_beta1-cli/README.md b/gen/adexchangebuyer2_v2_beta1-cli/README.md index 76412fb5a3..2e9537b926 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.3*. +This documentation was generated from the *AdExchangeBuyerII* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash adexchangebuyer2-v2-beta1 [options] diff --git a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml index 32407550e0..f6d6ed144d 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.3+20210331 +site_name: AdExchangeBuyerII v2.0.4+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 b7fa9e3bf5..e4f1fe504b 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.3+20210331") + .version("2.0.4+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 e51feb5f4c..4d5d455b44 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.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+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 3769887657..c8a1c8bf12 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.3+20210331*, where *20210331* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+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.4+20210331/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII) ... * accounts - * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientCreateCall), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientGetCall), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationCreateCall), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationGetCall), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationListCall), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientListCall), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUpdateCall), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserGetCall), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserListCall), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserUpdateCall), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeCreateCall), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationAddCall), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationListCall), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationRemoveCall), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeGetCall), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeListCall), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeStopWatchingCall), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeUpdateCall), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeWatchCall), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalListCall), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProductListCall), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalAcceptCall), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCancelNegotiationCall), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCompleteSetupCall), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCreateCall), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalGetCall), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalListCall), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalPauseCall), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalResumeCall), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalUpdateCall), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileListCall) + * [*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) * bidders - * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidMetricListCall), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponseErrorListCall), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponsesWithoutBidListCall), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetCreateCall), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetDeleteCall), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidRequestListCall), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidCreativeListCall), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidDetailListCall), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidListCall), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetGetCall), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetImpressionMetricListCall), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetListCall), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetLosingBidListCall), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetNonBillableWinningBidListCall), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidMetricListCall), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponseErrorListCall), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponsesWithoutBidListCall), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetCreateCall), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetDeleteCall), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidRequestListCall), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidCreativeListCall), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidDetailListCall), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidListCall), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetGetCall), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetImpressionMetricListCall), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetListCall), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetLosingBidListCall) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetNonBillableWinningBidListCall) + * [*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) @@ -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.3+20210331/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII)** +* **[Hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+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.3+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.3+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+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.3+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+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. @@ -141,17 +141,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.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-adexchangebuyer2_v2_beta1/2.0.3+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_adexchangebuyer2_v2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_adexchangebuyer2_v2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+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 8aada91ef7..9afea59f7e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adexchangebuyer2_v2_beta1/src/client.rs b/gen/adexchangebuyer2_v2_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/client.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adexchangebuyer2_v2_beta1/src/lib.rs b/gen/adexchangebuyer2_v2_beta1/src/lib.rs index 67f0350f9f..f12f4129fd 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.3+20210331*, where *20210331* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/adexchangeseller2-cli/Cargo.toml b/gen/adexchangeseller2-cli/Cargo.toml index 6deafa7946..e7122856a4 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.3+20171101" +version = "2.0.4+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.3+20171101" +version = "2.0.4+20171101" diff --git a/gen/adexchangeseller2-cli/README.md b/gen/adexchangeseller2-cli/README.md index 5b5d2e0375..e5280bf66a 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.3*. +This documentation was generated from the *Ad Exchange Seller* API at revision *20171101*. The CLI is at version *2.0.4*. ```bash adexchangeseller2 [options] diff --git a/gen/adexchangeseller2-cli/mkdocs.yml b/gen/adexchangeseller2-cli/mkdocs.yml index 361add276a..03227f85c9 100644 --- a/gen/adexchangeseller2-cli/mkdocs.yml +++ b/gen/adexchangeseller2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Seller v2.0.3+20171101 +site_name: Ad Exchange Seller v2.0.4+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 2a35d1ad37..4d922152ad 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.3+20171101") + .version("2.0.4+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 293b98b768..2e7ea59894 100644 --- a/gen/adexchangeseller2/Cargo.toml +++ b/gen/adexchangeseller2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangeseller2" -version = "2.0.3+20171101" +version = "2.0.4+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.3+20171101" +documentation = "https://docs.rs/google-adexchangeseller2/2.0.4+20171101" license = "MIT" keywords = ["adexchangeseller", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangeseller2/README.md b/gen/adexchangeseller2/README.md index 49ca6ac7fc..40876bf847 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.3+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.3*. +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*. 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.3+20171101/google_adexchangeseller2/AdExchangeSeller) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/AdExchangeSeller) ... -* [accounts](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::Account) - * [*adclients list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountAdclientListCall), [*alerts list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountAlertListCall), [*customchannels get*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountListCall), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountMetadataDimensionListCall), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountMetadataMetricListCall), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountPreferreddealGetCall), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountPreferreddealListCall), [*reports generate*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountReportSavedListCall) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountUrlchannelListCall) +* [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) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/api::AccountReportGenerateCall) +* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/2.0.4+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.3+20171101/google_adexchangeseller2/AdExchangeSeller)** +* **[Hub](https://docs.rs/google-adexchangeseller2/2.0.4+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.3+20171101/google_adexchangeseller2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/client::Part)** + * **[Parts](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-adexchangeseller2/2.0.3+20171101/google_adexchangeseller2/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangeseller2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20171101/google_adexchangeseller2/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangeseller2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/2.0.3+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.4+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.3+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.4+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.3+20171101/google_adexchangeseller2/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangeseller2/2.0.4+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 ed5342dc95..8f784ce75f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adexchangeseller2/src/client.rs b/gen/adexchangeseller2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adexchangeseller2/src/client.rs +++ b/gen/adexchangeseller2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adexchangeseller2/src/lib.rs b/gen/adexchangeseller2/src/lib.rs index a2e82d55cb..428eba022c 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.3+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.3*. +//! 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*. //! //! Everything else about the *Ad Exchange Seller* *v2* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). diff --git a/gen/adexperiencereport1-cli/Cargo.toml b/gen/adexperiencereport1-cli/Cargo.toml index 1f041f506f..b19ab9578f 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/adexperiencereport1-cli/README.md b/gen/adexperiencereport1-cli/README.md index b783dacc00..e1e6d35708 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.3*. +This documentation was generated from the *Ad Experience Report* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash adexperiencereport1 [options] diff --git a/gen/adexperiencereport1-cli/mkdocs.yml b/gen/adexperiencereport1-cli/mkdocs.yml index 24142f68a6..8a3a44181f 100644 --- a/gen/adexperiencereport1-cli/mkdocs.yml +++ b/gen/adexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Experience Report v2.0.3+20210329 +site_name: Ad Experience Report v2.0.4+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 bdd716babf..354ebc3ad8 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.3+20210329") + .version("2.0.4+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 8983b846ee..e7ba729e7e 100644 --- a/gen/adexperiencereport1/Cargo.toml +++ b/gen/adexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexperiencereport1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-adexperiencereport1/2.0.4+20210329" license = "MIT" keywords = ["adexperiencereport", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexperiencereport1/README.md b/gen/adexperiencereport1/README.md index 21ba047914..a6a63827e8 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.3+20210329*, where *20210329* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_adexperiencereport1/AdExperienceReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/AdExperienceReport) ... * sites - * [*get*](https://docs.rs/google-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/api::SiteGetCall) + * [*get*](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/api::SiteGetCall) * violating sites - * [*list*](https://docs.rs/google-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/api::ViolatingSiteListCall) + * [*list*](https://docs.rs/google-adexperiencereport1/2.0.4+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.3+20210329/google_adexperiencereport1/AdExperienceReport)** +* **[Hub](https://docs.rs/google-adexperiencereport1/2.0.4+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.3+20210329/google_adexperiencereport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/client::Part)** + * **[Parts](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-adexperiencereport1/2.0.3+20210329/google_adexperiencereport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexperiencereport1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_adexperiencereport1/client::RequestValue) and -[decodable](https://docs.rs/google-adexperiencereport1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexperiencereport1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_adexperiencereport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexperiencereport1/2.0.4+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 37b269d2ef..28de91a12b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adexperiencereport1/src/client.rs b/gen/adexperiencereport1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adexperiencereport1/src/client.rs +++ b/gen/adexperiencereport1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adexperiencereport1/src/lib.rs b/gen/adexperiencereport1/src/lib.rs index a821a611c1..186fe6d8d7 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.3+20210329*, where *20210329* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Ad Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/ad-experience-report/). diff --git a/gen/admob1-cli/Cargo.toml b/gen/admob1-cli/Cargo.toml index e67fcebee2..2a6ba5973e 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/admob1-cli/README.md b/gen/admob1-cli/README.md index a3708887ab..ef05daa29c 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.3*. +This documentation was generated from the *AdMob* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash admob1 [options] diff --git a/gen/admob1-cli/mkdocs.yml b/gen/admob1-cli/mkdocs.yml index 702ed781c7..bfcf9b37db 100644 --- a/gen/admob1-cli/mkdocs.yml +++ b/gen/admob1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdMob v2.0.3+20210331 +site_name: AdMob v2.0.4+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 439e89d001..4eb9b1d027 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.3+20210331") + .version("2.0.4+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 e7168193a6..a4e11337ef 100644 --- a/gen/admob1/Cargo.toml +++ b/gen/admob1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-admob1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-admob1/2.0.4+20210331" license = "MIT" keywords = ["admob", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/admob1/README.md b/gen/admob1/README.md index 913b8d6458..a914ad1c7d 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.3+20210331*, where *20210331* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_admob1/AdMob) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/AdMob) ... * accounts - * [*get*](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/api::AccountGetCall), [*list*](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/api::AccountListCall), [*mediation report generate*](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/api::AccountMediationReportGenerateCall) and [*network report generate*](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/api::AccountNetworkReportGenerateCall) + * [*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) @@ -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.3+20210331/google_admob1/AdMob)** +* **[Hub](https://docs.rs/google-admob1/2.0.4+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.3+20210331/google_admob1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/client::CallBuilder) -* **[Resources](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/client::Part)** + * **[Parts](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admob1/2.0.3+20210331/google_admob1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admob1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-admob1/2.0.3+20210331/google_admob1/client::Delegate) to the -[Method Builder](https://docs.rs/google-admob1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_admob1/client::RequestValue) and -[decodable](https://docs.rs/google-admob1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-admob1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_admob1/client::RequestValue) are moved +* [request values](https://docs.rs/google-admob1/2.0.4+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 a560ed22ea..629457640d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/admob1/src/client.rs b/gen/admob1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/admob1/src/client.rs +++ b/gen/admob1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/admob1/src/lib.rs b/gen/admob1/src/lib.rs index 37f8c7f731..981bd85b7c 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.3+20210331*, where *20210331* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *AdMob* *v1* API can be found at the //! [official documentation site](https://developers.google.com/admob/api/). diff --git a/gen/adsense1d4-cli/Cargo.toml b/gen/adsense1d4-cli/Cargo.toml index 01bda99f3d..af03d99caa 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.3+20201002" +version = "2.0.4+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.3+20201002" +version = "2.0.4+20201002" diff --git a/gen/adsense1d4-cli/README.md b/gen/adsense1d4-cli/README.md index 7a05d5c4e9..862c7a7381 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.3*. +This documentation was generated from the *AdSense* API at revision *20201002*. The CLI is at version *2.0.4*. ```bash adsense1d4 [options] diff --git a/gen/adsense1d4-cli/mkdocs.yml b/gen/adsense1d4-cli/mkdocs.yml index df3adf2a7d..6bfd895e42 100644 --- a/gen/adsense1d4-cli/mkdocs.yml +++ b/gen/adsense1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense v2.0.3+20201002 +site_name: AdSense v2.0.4+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 ff137b60ac..304a48c1b6 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.3+20201002") + .version("2.0.4+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 0c97a2220f..748b0cdc79 100644 --- a/gen/adsense1d4/Cargo.toml +++ b/gen/adsense1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsense1d4" -version = "2.0.3+20201002" +version = "2.0.4+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.3+20201002" +documentation = "https://docs.rs/google-adsense1d4/2.0.4+20201002" license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adsense1d4/README.md b/gen/adsense1d4/README.md index 16ca707575..9f4617a234 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.3+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.3*. +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*. 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.3+20201002/google_adsense1d4/AdSense) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/AdSense) ... -* [accounts](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::Account) - * [*adclients get ad code*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAdclientGetAdCodeCall), [*adclients list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAdclientListCall), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAdunitCustomchannelListCall), [*adunits get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAdunitGetAdCodeCall), [*adunits list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAdunitListCall), [*alerts delete*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAlertDeleteCall), [*alerts list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountAlertListCall), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountCustomchannelAdunitListCall), [*customchannels get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountListCall), [*payments list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountReportSavedListCall), [*savedadstyles get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountSavedadstyleGetCall), [*savedadstyles list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountSavedadstyleListCall) and [*urlchannels list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountUrlchannelListCall) +* [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) * adclients - * [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AdclientListCall) + * [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AdclientListCall) * adunits - * [*customchannels list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AdunitCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AdunitGetCall), [*get ad code*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AdunitGetAdCodeCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AdunitListCall) -* [alerts](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::Alert) - * [*delete*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AlertDeleteCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AlertListCall) + * [*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 - * [*adunits list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::CustomchannelAdunitListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::CustomchannelGetCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::CustomchannelListCall) -* [metadata](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::Metadata) - * [*dimensions list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::MetadataDimensionListCall) and [*metrics list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::MetadataMetricListCall) -* [payments](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::Payment) - * [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::PaymentListCall) + * [*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) * reports - * [*generate*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::ReportGenerateCall), [*saved generate*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::ReportSavedGenerateCall) and [*saved list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::ReportSavedListCall) + * [*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) * savedadstyles - * [*get*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::SavedadstyleGetCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::SavedadstyleListCall) + * [*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) * urlchannels - * [*list*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::UrlchannelListCall) + * [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::UrlchannelListCall) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::AccountReportGenerateCall) -* [*generate reports*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/api::ReportGenerateCall) +* [*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) @@ -46,17 +46,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/AdSense)** +* **[Hub](https://docs.rs/google-adsense1d4/2.0.4+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.3+20201002/google_adsense1d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/client::Part)** + * **[Parts](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsense1d4/2.0.3+20201002/google_adsense1d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -177,17 +177,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +197,29 @@ Methods supporting uploads can do so using up to 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.3+20201002/google_adsense1d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsense1d4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20201002/google_adsense1d4/client::RequestValue) and -[decodable](https://docs.rs/google-adsense1d4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/2.0.3+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.4+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.3+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.4+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.3+20201002/google_adsense1d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsense1d4/2.0.4+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 373698bec6..024cdbf7d0 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adsense1d4/src/client.rs b/gen/adsense1d4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adsense1d4/src/client.rs +++ b/gen/adsense1d4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adsense1d4/src/lib.rs b/gen/adsense1d4/src/lib.rs index 4487307c7c..6d71adb978 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.3+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.3*. +//! 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*. //! //! Everything else about the *AdSense* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/adsense/management/). diff --git a/gen/adsensehost4d1-cli/Cargo.toml b/gen/adsensehost4d1-cli/Cargo.toml index c88ca03da2..342f0daf02 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.3+20200930" +version = "2.0.4+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.3+20200930" +version = "2.0.4+20200930" diff --git a/gen/adsensehost4d1-cli/README.md b/gen/adsensehost4d1-cli/README.md index 7841119175..9869bfd7ef 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.3*. +This documentation was generated from the *AdSense Host* API at revision *20200930*. The CLI is at version *2.0.4*. ```bash adsensehost4d1 [options] diff --git a/gen/adsensehost4d1-cli/mkdocs.yml b/gen/adsensehost4d1-cli/mkdocs.yml index a6c47af1e3..5b6196dd03 100644 --- a/gen/adsensehost4d1-cli/mkdocs.yml +++ b/gen/adsensehost4d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense Host v2.0.3+20200930 +site_name: AdSense Host v2.0.4+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 593f896715..a045f31bb2 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.3+20200930") + .version("2.0.4+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 9aca3f8e7e..3e5b044ff0 100644 --- a/gen/adsensehost4d1/Cargo.toml +++ b/gen/adsensehost4d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsensehost4d1" -version = "2.0.3+20200930" +version = "2.0.4+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.3+20200930" +documentation = "https://docs.rs/google-adsensehost4d1/2.0.4+20200930" license = "MIT" keywords = ["adsensehost", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adsensehost4d1/README.md b/gen/adsensehost4d1/README.md index b3445448db..3f05bb2ca4 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.3+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.3*. +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*. 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.3+20200930/google_adsensehost4d1/AdSenseHost) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/AdSenseHost) ... -* [accounts](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::Account) - * [*adclients get*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdclientGetCall), [*adclients list*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdclientListCall), [*adunits delete*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitDeleteCall), [*adunits get*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitGetAdCodeCall), [*adunits insert*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitInsertCall), [*adunits list*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitListCall), [*adunits patch*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitPatchCall), [*adunits update*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountAdunitUpdateCall), [*get*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountGetCall), [*list*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountListCall) and [*reports generate*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AccountReportGenerateCall) +* [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) * adclients - * [*get*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AdclientGetCall) and [*list*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AdclientListCall) + * [*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) * associationsessions - * [*start*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AssociationsessionStartCall) and [*verify*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::AssociationsessionVerifyCall) + * [*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) * customchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::CustomchannelDeleteCall), [*get*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::CustomchannelGetCall), [*insert*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::CustomchannelInsertCall), [*list*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::CustomchannelListCall), [*patch*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::CustomchannelPatchCall) and [*update*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::CustomchannelUpdateCall) -* [reports](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::Report) - * [*generate*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::ReportGenerateCall) + * [*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) * urlchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::UrlchannelDeleteCall), [*insert*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::UrlchannelInsertCall) and [*list*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/api::UrlchannelListCall) + * [*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) @@ -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.3+20200930/google_adsensehost4d1/AdSenseHost)** +* **[Hub](https://docs.rs/google-adsensehost4d1/2.0.4+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.3+20200930/google_adsensehost4d1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/client::Part)** + * **[Parts](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -154,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-adsensehost4d1/2.0.3+20200930/google_adsensehost4d1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsensehost4d1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200930/google_adsensehost4d1/client::RequestValue) and -[decodable](https://docs.rs/google-adsensehost4d1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/2.0.3+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.4+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.3+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.4+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.3+20200930/google_adsensehost4d1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsensehost4d1/2.0.4+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 696a9c4894..eb04b408ea 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/adsensehost4d1/src/client.rs b/gen/adsensehost4d1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/adsensehost4d1/src/client.rs +++ b/gen/adsensehost4d1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/adsensehost4d1/src/lib.rs b/gen/adsensehost4d1/src/lib.rs index 2d11f37263..20bc8711ba 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.3+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.3*. +//! 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*. //! //! Everything else about the *AdSense Host* *v4d1* API can be found at the //! [official documentation site](https://developers.google.com/adsense/host/). diff --git a/gen/alertcenter1_beta1-cli/Cargo.toml b/gen/alertcenter1_beta1-cli/Cargo.toml index a99f2de7a0..8254b87b43 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/alertcenter1_beta1-cli/README.md b/gen/alertcenter1_beta1-cli/README.md index 1295849294..3c09989240 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.3*. +This documentation was generated from the *AlertCenter* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash alertcenter1-beta1 [options] diff --git a/gen/alertcenter1_beta1-cli/mkdocs.yml b/gen/alertcenter1_beta1-cli/mkdocs.yml index 8fdaaa690a..51aaa850a8 100644 --- a/gen/alertcenter1_beta1-cli/mkdocs.yml +++ b/gen/alertcenter1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AlertCenter v2.0.3+20210323 +site_name: AlertCenter v2.0.4+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 f81c76ae40..e8c28ff835 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.3+20210323") + .version("2.0.4+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 af7df241a9..dc69c49feb 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.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-alertcenter1_beta1/2.0.4+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 33e77c4218..a4cf4358d4 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.3+20210323*, where *20210323* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_alertcenter1_beta1/AlertCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/AlertCenter) ... -* [alerts](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::Alert) - * [*batch delete*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertBatchDeleteCall), [*batch undelete*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertBatchUndeleteCall), [*delete*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertDeleteCall), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertFeedbackCreateCall), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertFeedbackListCall), [*get*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertGetCall), [*get metadata*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertGetMetadataCall), [*list*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertListCall) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::AlertUndeleteCall) +* [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) Other activities are ... -* [get settings](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::MethodGetSettingCall) -* [update settings](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/api::MethodUpdateSettingCall) +* [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) @@ -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.3+20210323/google_alertcenter1_beta1/AlertCenter)** +* **[Hub](https://docs.rs/google-alertcenter1_beta1/2.0.4+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.3+20210323/google_alertcenter1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-alertcenter1_beta1/2.0.4+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. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-alertcenter1_beta1/2.0.3+20210323/google_alertcenter1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-alertcenter1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_alertcenter1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-alertcenter1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-alertcenter1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_alertcenter1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-alertcenter1_beta1/2.0.4+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 c84a81fd3c..33bd617835 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/alertcenter1_beta1/src/client.rs b/gen/alertcenter1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/alertcenter1_beta1/src/client.rs +++ b/gen/alertcenter1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/alertcenter1_beta1/src/lib.rs b/gen/alertcenter1_beta1/src/lib.rs index b8df998270..a205de5938 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.3+20210323*, where *20210323* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *AlertCenter* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/alertcenter/). diff --git a/gen/analytics3-cli/Cargo.toml b/gen/analytics3-cli/Cargo.toml index f1f49685de..6bb7f0bd83 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.3+20190807" +version = "2.0.4+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.3+20190807" +version = "2.0.4+20190807" diff --git a/gen/analytics3-cli/README.md b/gen/analytics3-cli/README.md index 4a737b49b1..8eabec14b4 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.3*. +This documentation was generated from the *analytics* API at revision *20190807*. The CLI is at version *2.0.4*. ```bash analytics3 [options] diff --git a/gen/analytics3-cli/mkdocs.yml b/gen/analytics3-cli/mkdocs.yml index 9537ff8af6..8aa0b05428 100644 --- a/gen/analytics3-cli/mkdocs.yml +++ b/gen/analytics3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: analytics v2.0.3+20190807 +site_name: analytics v2.0.4+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 865e54a75c..26dff2338e 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.3+20190807") + .version("2.0.4+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 743d959f19..4c7973822d 100644 --- a/gen/analytics3/Cargo.toml +++ b/gen/analytics3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analytics3" -version = "2.0.3+20190807" +version = "2.0.4+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.3+20190807" +documentation = "https://docs.rs/google-analytics3/2.0.4+20190807" license = "MIT" keywords = ["analytics", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/analytics3/README.md b/gen/analytics3/README.md index d3e8bf7735..5ef3380508 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.3+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190807/google_analytics3/Analytics) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/Analytics) ... * data - * [*ga get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::DataGaGetCall), [*mcf get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::DataMcfGetCall) and [*realtime get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::DataRealtimeGetCall) + * [*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) * management - * [*account summaries list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementAccountSummaryListCall), [*account user links delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementAccountUserLinkDeleteCall), [*account user links insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementAccountUserLinkInsertCall), [*account user links list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementAccountUserLinkListCall), [*account user links update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementAccountUserLinkUpdateCall), [*accounts list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementAccountListCall), [*client id hash client id*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementClientIdHashClientIdCall), [*custom data sources list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomDataSourceListCall), [*custom dimensions get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomDimensionGetCall), [*custom dimensions insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomDimensionInsertCall), [*custom dimensions list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomDimensionPatchCall), [*custom dimensions update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomDimensionUpdateCall), [*custom metrics get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomMetricGetCall), [*custom metrics insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomMetricInsertCall), [*custom metrics list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomMetricPatchCall), [*custom metrics update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementCustomMetricUpdateCall), [*experiments delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementExperimentDeleteCall), [*experiments get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementExperimentGetCall), [*experiments insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementExperimentInsertCall), [*experiments list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementExperimentListCall), [*experiments patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementExperimentPatchCall), [*experiments update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementExperimentUpdateCall), [*filters delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementFilterDeleteCall), [*filters get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementFilterGetCall), [*filters insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementFilterInsertCall), [*filters list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementFilterListCall), [*filters patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementFilterPatchCall), [*filters update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementFilterUpdateCall), [*goals get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementGoalGetCall), [*goals insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementGoalInsertCall), [*goals list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementGoalListCall), [*goals patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementGoalPatchCall), [*goals update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementGoalUpdateCall), [*profile filter links delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileFilterLinkDeleteCall), [*profile filter links get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileFilterLinkGetCall), [*profile filter links insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileFilterLinkInsertCall), [*profile filter links list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileFilterLinkListCall), [*profile filter links patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileFilterLinkPatchCall), [*profile filter links update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileFilterLinkUpdateCall), [*profile user links delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileUserLinkDeleteCall), [*profile user links insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileUserLinkInsertCall), [*profile user links list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileUserLinkListCall), [*profile user links update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileUserLinkUpdateCall), [*profiles delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileDeleteCall), [*profiles get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileGetCall), [*profiles insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileInsertCall), [*profiles list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileListCall), [*profiles patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfilePatchCall), [*profiles update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementProfileUpdateCall), [*remarketing audience delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementRemarketingAudienceDeleteCall), [*remarketing audience get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementRemarketingAudienceGetCall), [*remarketing audience insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementRemarketingAudienceInsertCall), [*remarketing audience list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementRemarketingAudienceListCall), [*remarketing audience patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementRemarketingAudiencePatchCall), [*remarketing audience update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementRemarketingAudienceUpdateCall), [*segments list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementSegmentListCall), [*unsampled reports delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUnsampledReportDeleteCall), [*unsampled reports get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUnsampledReportGetCall), [*unsampled reports insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUnsampledReportInsertCall), [*unsampled reports list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUnsampledReportListCall), [*uploads delete upload data*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUploadDeleteUploadDataCall), [*uploads get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUploadGetCall), [*uploads list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUploadListCall), [*uploads upload data*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUploadUploadDataCall), [*web property ad words links delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkDeleteCall), [*web property ad words links get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkGetCall), [*web property ad words links insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkInsertCall), [*web property ad words links list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkListCall), [*web property ad words links patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkPatchCall), [*web property ad words links update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkUpdateCall), [*webproperties get*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyGetCall), [*webproperties insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyInsertCall), [*webproperties list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyListCall), [*webproperties patch*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyPatchCall), [*webproperties update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyUpdateCall), [*webproperty user links delete*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyUserLinkDeleteCall), [*webproperty user links insert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyUserLinkInsertCall), [*webproperty user links list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyUserLinkListCall) and [*webproperty user links update*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementWebpropertyUserLinkUpdateCall) + * [*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) * metadata - * [*columns list*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::MetadataColumnListCall) + * [*columns list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::MetadataColumnListCall) * provisioning - * [*create account ticket*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ProvisioningCreateAccountTicketCall) and [*create account tree*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ProvisioningCreateAccountTreeCall) + * [*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) * user deletion - * [*user deletion request upsert*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::UserDeletionUserDeletionRequestUpsertCall) + * [*user deletion request upsert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::UserDeletionUserDeletionRequestUpsertCall) Upload supported by ... -* [*uploads upload data management*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/api::ManagementUploadUploadDataCall) +* [*uploads upload data management*](https://docs.rs/google-analytics3/2.0.4+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.3+20190807/google_analytics3/Analytics)** +* **[Hub](https://docs.rs/google-analytics3/2.0.4+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.3+20190807/google_analytics3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/client::CallBuilder) -* **[Resources](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/client::Part)** + * **[Parts](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analytics3/2.0.3+20190807/google_analytics3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -149,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-analytics3/2.0.3+20190807/google_analytics3/client::Delegate) to the -[Method Builder](https://docs.rs/google-analytics3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190807/google_analytics3/client::RequestValue) and -[decodable](https://docs.rs/google-analytics3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analytics3/2.0.3+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.4+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.3+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.4+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.3+20190807/google_analytics3/client::RequestValue) are moved +* [request values](https://docs.rs/google-analytics3/2.0.4+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 f0eca3c039..343a5945ab 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/analytics3/src/client.rs b/gen/analytics3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/analytics3/src/client.rs +++ b/gen/analytics3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/analytics3/src/lib.rs b/gen/analytics3/src/lib.rs index bb74058659..9d9eb250db 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.3+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *analytics* *v3* API can be found at the //! [official documentation site](https://developers.google.com/analytics/). diff --git a/gen/analyticsadmin1_alpha-cli/Cargo.toml b/gen/analyticsadmin1_alpha-cli/Cargo.toml index 0413cca7e2..0d51225764 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/analyticsadmin1_alpha-cli/README.md b/gen/analyticsadmin1_alpha-cli/README.md index 4310c622d4..e36daecf10 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.3*. +This documentation was generated from the *Google Analytics Admin* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash analyticsadmin1-alpha [options] diff --git a/gen/analyticsadmin1_alpha-cli/mkdocs.yml b/gen/analyticsadmin1_alpha-cli/mkdocs.yml index 4784f68863..03441f9bfe 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.3+20210331 +site_name: Google Analytics Admin v2.0.4+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 d1e4f7a7e7..05526a6205 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.3+20210331") + .version("2.0.4+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 60ed9a1b0a..74dcaa4b8c 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.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-analyticsadmin1_alpha/2.0.4+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 e669d9f7bf..a55b79a44e 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.3+20210331*, where *20210331* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin) ... * account summaries - * [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountSummaryListCall) + * [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountSummaryListCall) * accounts - * [*delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountDeleteCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountGetCall), [*get data sharing settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountGetDataSharingSettingCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountPatchCall), [*provision account ticket*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountProvisionAccountTicketCall), [*search change history events*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountSearchChangeHistoryEventCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkPatchCall) + * [*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) * properties - * [*android app data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamCreateCall), [*android app data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamDeleteCall), [*android app data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamGetCall), [*android app data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamListCall), [*android app data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamPatchCall), [*create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyCreateCall), [*delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyDeleteCall), [*firebase links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkCreateCall), [*firebase links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkDeleteCall), [*firebase links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkListCall), [*firebase links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkPatchCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyGetCall), [*google ads links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkCreateCall), [*google ads links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkDeleteCall), [*google ads links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkListCall), [*google ads links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkPatchCall), [*ios app data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamCreateCall), [*ios app data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamDeleteCall), [*ios app data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamGetCall), [*ios app data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamListCall), [*ios app data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamPatchCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyPatchCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkListCall), [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkPatchCall), [*web data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamCreateCall), [*web data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamDeleteCall), [*web data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetCall), [*web data streams get enhanced measurement settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetEnhancedMeasurementSettingCall), [*web data streams get global site tag*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetGlobalSiteTagCall), [*web data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamListCall), [*web data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamPatchCall) and [*web data streams update enhanced measurement settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamUpdateEnhancedMeasurementSettingCall) + * [*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) @@ -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.3+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin)** +* **[Hub](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+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.3+20210331/google_analyticsadmin1_alpha/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/client::Part)** + * **[Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+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. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-analyticsadmin1_alpha/2.0.3+20210331/google_analyticsadmin1_alpha/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_analyticsadmin1_alpha/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.3+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.4+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.3+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.4+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.3+20210331/google_analyticsadmin1_alpha/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+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 18705fb0dd..503fa9dc19 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/analyticsadmin1_alpha/src/client.rs b/gen/analyticsadmin1_alpha/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/analyticsadmin1_alpha/src/client.rs +++ b/gen/analyticsadmin1_alpha/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/analyticsadmin1_alpha/src/lib.rs b/gen/analyticsadmin1_alpha/src/lib.rs index 6170097b4d..179055a3d0 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.3+20210331*, where *20210331* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/analyticsdata1_beta-cli/Cargo.toml b/gen/analyticsdata1_beta-cli/Cargo.toml index e8d2d81527..b0d06ff831 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/analyticsdata1_beta-cli/README.md b/gen/analyticsdata1_beta-cli/README.md index c232cd6094..3bae982bf3 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.3*. +This documentation was generated from the *AnalyticsData* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash analyticsdata1-beta [options] diff --git a/gen/analyticsdata1_beta-cli/mkdocs.yml b/gen/analyticsdata1_beta-cli/mkdocs.yml index 9aac728288..9d4559c098 100644 --- a/gen/analyticsdata1_beta-cli/mkdocs.yml +++ b/gen/analyticsdata1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsData v2.0.3+20210329 +site_name: AnalyticsData v2.0.4+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 9419893403..f7082b7d2e 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.3+20210329") + .version("2.0.4+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 415aa464bc..f115b7da88 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-analyticsdata1_beta/2.0.4+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 dda801c6ce..eeca91640b 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.3+20210329*, where *20210329* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_analyticsdata1_beta/AnalyticsData) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/AnalyticsData) ... * properties - * [*batch run pivot reports*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/api::PropertyBatchRunPivotReportCall), [*batch run reports*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/api::PropertyBatchRunReportCall), [*get metadata*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/api::PropertyGetMetadataCall), [*run pivot report*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/api::PropertyRunPivotReportCall), [*run realtime report*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/api::PropertyRunRealtimeReportCall) and [*run report*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/api::PropertyRunReportCall) + * [*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) @@ -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.3+20210329/google_analyticsdata1_beta/AnalyticsData)** +* **[Hub](https://docs.rs/google-analyticsdata1_beta/2.0.4+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.3+20210329/google_analyticsdata1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/client::Part)** + * **[Parts](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsdata1_beta/2.0.4+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. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsdata1_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-analyticsdata1_beta/2.0.3+20210329/google_analyticsdata1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsdata1_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_analyticsdata1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsdata1_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsdata1_beta/2.0.3+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.4+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.3+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.4+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.3+20210329/google_analyticsdata1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsdata1_beta/2.0.4+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 ac493a35f9..7123bedc8f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/analyticsdata1_beta/src/client.rs b/gen/analyticsdata1_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/analyticsdata1_beta/src/client.rs +++ b/gen/analyticsdata1_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/analyticsdata1_beta/src/lib.rs b/gen/analyticsdata1_beta/src/lib.rs index 7e8155c010..e66c1ef975 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.3+20210329*, where *20210329* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/analyticsreporting4-cli/Cargo.toml b/gen/analyticsreporting4-cli/Cargo.toml index bf13eba694..d45e8e4526 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.3+20210310" +version = "2.0.4+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.3+20210310" +version = "2.0.4+20210310" diff --git a/gen/analyticsreporting4-cli/README.md b/gen/analyticsreporting4-cli/README.md index f1a929ff95..fc7e4745fa 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.3*. +This documentation was generated from the *AnalyticsReporting* API at revision *20210310*. The CLI is at version *2.0.4*. ```bash analyticsreporting4 [options] diff --git a/gen/analyticsreporting4-cli/mkdocs.yml b/gen/analyticsreporting4-cli/mkdocs.yml index fa7432c055..fd142cecde 100644 --- a/gen/analyticsreporting4-cli/mkdocs.yml +++ b/gen/analyticsreporting4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsReporting v2.0.3+20210310 +site_name: AnalyticsReporting v2.0.4+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 ffcfe5c76c..c4e92228e1 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.3+20210310") + .version("2.0.4+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 118acb5b2b..1eaf8c5cbb 100644 --- a/gen/analyticsreporting4/Cargo.toml +++ b/gen/analyticsreporting4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsreporting4" -version = "2.0.3+20210310" +version = "2.0.4+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.3+20210310" +documentation = "https://docs.rs/google-analyticsreporting4/2.0.4+20210310" license = "MIT" keywords = ["analyticsreporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/analyticsreporting4/README.md b/gen/analyticsreporting4/README.md index 19ad9147a5..9052e1adf7 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.3+20210310*, where *20210310* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210310/google_analyticsreporting4/AnalyticsReporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/AnalyticsReporting) ... -* [reports](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/api::Report) - * [*batch get*](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/api::ReportBatchGetCall) +* [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) * user activity - * [*search*](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/api::UserActivitySearchCall) + * [*search*](https://docs.rs/google-analyticsreporting4/2.0.4+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.3+20210310/google_analyticsreporting4/AnalyticsReporting)** +* **[Hub](https://docs.rs/google-analyticsreporting4/2.0.4+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.3+20210310/google_analyticsreporting4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/client::Part)** + * **[Parts](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-analyticsreporting4/2.0.3+20210310/google_analyticsreporting4/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsreporting4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210310/google_analyticsreporting4/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsreporting4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsreporting4/2.0.3+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.4+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.3+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.4+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.3+20210310/google_analyticsreporting4/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsreporting4/2.0.4+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 21fa703024..9bde175fac 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/analyticsreporting4/src/client.rs b/gen/analyticsreporting4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/analyticsreporting4/src/client.rs +++ b/gen/analyticsreporting4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/analyticsreporting4/src/lib.rs b/gen/analyticsreporting4/src/lib.rs index 6e65712611..9792a3b0f3 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.3+20210310*, where *20210310* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *AnalyticsReporting* *v4* API can be found at the //! [official documentation site](https://developers.google.com/analytics/devguides/reporting/core/v4/). diff --git a/gen/androiddeviceprovisioning1-cli/Cargo.toml b/gen/androiddeviceprovisioning1-cli/Cargo.toml index f332f3824b..e11182d2b8 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/androiddeviceprovisioning1-cli/README.md b/gen/androiddeviceprovisioning1-cli/README.md index aebc232d50..779bde589d 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.3*. +This documentation was generated from the *Android Provisioning Partner* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash androiddeviceprovisioning1 [options] diff --git a/gen/androiddeviceprovisioning1-cli/mkdocs.yml b/gen/androiddeviceprovisioning1-cli/mkdocs.yml index 689a6a4da2..dd464e13c3 100644 --- a/gen/androiddeviceprovisioning1-cli/mkdocs.yml +++ b/gen/androiddeviceprovisioning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Provisioning Partner v2.0.3+20210331 +site_name: Android Provisioning Partner v2.0.4+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 1746c2299c..a3694304b6 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.3+20210331") + .version("2.0.4+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 bc02966ed8..c9169d47ea 100644 --- a/gen/androiddeviceprovisioning1/Cargo.toml +++ b/gen/androiddeviceprovisioning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androiddeviceprovisioning1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331" license = "MIT" keywords = ["androiddeviceprovisi", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androiddeviceprovisioning1/README.md b/gen/androiddeviceprovisioning1/README.md index 09bae7de00..deca8c25c9 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.3+20210331*, where *20210331* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner) ... * customers - * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationCreateCall), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationDeleteCall), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationGetCall), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationListCall), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationPatchCall), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceApplyConfigurationCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceListCall), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceRemoveConfigurationCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceUnclaimCall), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerDpcListCall) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::CustomerListCall) -* [operations](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::Operation) - * [*get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::OperationGetCall) + * [*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) * partners - * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerCustomerCreateCall), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerCustomerListCall), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceClaimCall), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceClaimAsyncCall), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceFindByIdentifierCall), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceFindByOwnerCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceGetCall), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceMetadataCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimCall), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimAsyncCall), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUpdateMetadataAsyncCall), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerVendorCustomerListCall) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/api::PartnerVendorListCall) + * [*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) @@ -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.3+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner)** +* **[Hub](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+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.3+20210331/google_androiddeviceprovisioning1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/client::Part)** + * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-androiddeviceprovisioning1/2.0.3+20210331/google_androiddeviceprovisioning1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_androiddeviceprovisioning1/client::RequestValue) and -[decodable](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_androiddeviceprovisioning1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+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 dcf7ce5e2c..76989952dd 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/androiddeviceprovisioning1/src/client.rs b/gen/androiddeviceprovisioning1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/androiddeviceprovisioning1/src/client.rs +++ b/gen/androiddeviceprovisioning1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/androiddeviceprovisioning1/src/lib.rs b/gen/androiddeviceprovisioning1/src/lib.rs index 59993121a6..a6f977df33 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.3+20210331*, where *20210331* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Android Provisioning Partner* *v1* API can be found at the //! [official documentation site](https://developers.google.com/zero-touch/). diff --git a/gen/androidenterprise1-cli/Cargo.toml b/gen/androidenterprise1-cli/Cargo.toml index a9a948d105..e145d3fede 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/androidenterprise1-cli/README.md b/gen/androidenterprise1-cli/README.md index 469322805f..4dfb4a3916 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.3*. +This documentation was generated from the *Android Enterprise* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash androidenterprise1 [options] diff --git a/gen/androidenterprise1-cli/mkdocs.yml b/gen/androidenterprise1-cli/mkdocs.yml index 7a91db3be2..a2b3060bf1 100644 --- a/gen/androidenterprise1-cli/mkdocs.yml +++ b/gen/androidenterprise1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Enterprise v2.0.3+20210324 +site_name: Android Enterprise v2.0.4+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 dc0571176d..7b86f2e252 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.3+20210324") + .version("2.0.4+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 f9da7b6a4c..402af7deb3 100644 --- a/gen/androidenterprise1/Cargo.toml +++ b/gen/androidenterprise1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidenterprise1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-androidenterprise1/2.0.4+20210324" license = "MIT" keywords = ["androidenterprise", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidenterprise1/README.md b/gen/androidenterprise1/README.md index 05d6115ff0..74815b531a 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.3+20210324*, where *20210324* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_androidenterprise1/AndroidEnterprise) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/AndroidEnterprise) ... -* [devices](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::Device) - * [*force report upload*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::DeviceUpdateCall) -* [enterprises](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::Enterprise) - * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create web token*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EnterpriseUnenrollCall) -* [entitlements](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::Entitlement) - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::EntitlementUpdateCall) +* [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) * grouplicenses - * [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::GrouplicenseListCall) + * [*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) * grouplicenseusers - * [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::GrouplicenseuserListCall) -* [installs](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::Install) - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::InstallUpdateCall) + * [*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) * managedconfigurationsfordevice - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall) + * [*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) * managedconfigurationsforuser - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall) + * [*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) * managedconfigurationssettings - * [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ManagedconfigurationssettingListCall) -* [permissions](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::Permission) - * [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::PermissionGetCall) -* [products](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::Product) - * [*approve*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ProductUnapproveCall) + * [*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) * serviceaccountkeys - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::ServiceaccountkeyListCall) + * [*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) * storelayoutclusters - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutclusterUpdateCall) + * [*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) * storelayoutpages - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::StorelayoutpageUpdateCall) -* [users](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::User) - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::UserUpdateCall) + * [*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) * webapps - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/api::WebappUpdateCall) + * [*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) @@ -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.3+20210324/google_androidenterprise1/AndroidEnterprise)** +* **[Hub](https://docs.rs/google-androidenterprise1/2.0.4+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.3+20210324/google_androidenterprise1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/client::Part)** + * **[Parts](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidenterprise1/2.0.3+20210324/google_androidenterprise1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -171,17 +171,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +191,29 @@ Methods supporting uploads can do so using up to 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.3+20210324/google_androidenterprise1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidenterprise1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_androidenterprise1/client::RequestValue) and -[decodable](https://docs.rs/google-androidenterprise1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_androidenterprise1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidenterprise1/2.0.4+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 463911bbd0..f49bed0f0b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/androidenterprise1/src/client.rs b/gen/androidenterprise1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/androidenterprise1/src/client.rs +++ b/gen/androidenterprise1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs index 766e8dad2a..753cf625f0 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.3+20210324*, where *20210324* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Android Enterprise* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/work/play/emm-api). diff --git a/gen/androidmanagement1-cli/Cargo.toml b/gen/androidmanagement1-cli/Cargo.toml index 0a778b5860..fcdcb3810c 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/androidmanagement1-cli/README.md b/gen/androidmanagement1-cli/README.md index 28504b602f..51562d9e7d 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.3*. +This documentation was generated from the *Android Management* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash androidmanagement1 [options] diff --git a/gen/androidmanagement1-cli/mkdocs.yml b/gen/androidmanagement1-cli/mkdocs.yml index 0cb739dc9d..87bec54436 100644 --- a/gen/androidmanagement1-cli/mkdocs.yml +++ b/gen/androidmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Management v2.0.3+20210322 +site_name: Android Management v2.0.4+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 fbbd2adc80..1e81f51be0 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.3+20210322") + .version("2.0.4+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 7ebf4717da..ed8473e0e5 100644 --- a/gen/androidmanagement1/Cargo.toml +++ b/gen/androidmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidmanagement1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-androidmanagement1/2.0.4+20210322" license = "MIT" keywords = ["androidmanagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidmanagement1/README.md b/gen/androidmanagement1/README.md index fdb1ec94f4..f8cea260d6 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.3+20210322*, where *20210322* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_androidmanagement1/AndroidManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/AndroidManagement) ... -* [enterprises](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::Enterprise) - * [*applications get*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseApplicationGetCall), [*create*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseCreateCall), [*delete*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeleteCall), [*devices delete*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceDeleteCall), [*devices get*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceGetCall), [*devices issue command*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceIssueCommandCall), [*devices list*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceListCall), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationCancelCall), [*devices operations delete*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationDeleteCall), [*devices operations get*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationGetCall), [*devices operations list*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationListCall), [*devices patch*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseDevicePatchCall), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseEnrollmentTokenCreateCall), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseEnrollmentTokenDeleteCall), [*get*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseGetCall), [*list*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseListCall), [*patch*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterprisePatchCall), [*policies delete*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterprisePolicyDeleteCall), [*policies get*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterprisePolicyGetCall), [*policies list*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterprisePolicyListCall), [*policies patch*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterprisePolicyPatchCall), [*web apps create*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseWebAppCreateCall), [*web apps delete*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseWebAppDeleteCall), [*web apps get*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseWebAppGetCall), [*web apps list*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseWebAppListCall), [*web apps patch*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseWebAppPatchCall) and [*web tokens create*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::EnterpriseWebTokenCreateCall) -* [signup urls](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::SignupUrl) - * [*create*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/api::SignupUrlCreateCall) +* [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) @@ -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.3+20210322/google_androidmanagement1/AndroidManagement)** +* **[Hub](https://docs.rs/google-androidmanagement1/2.0.4+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.3+20210322/google_androidmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidmanagement1/2.0.3+20210322/google_androidmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -164,17 +164,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +184,29 @@ Methods supporting uploads can do so using up to 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.3+20210322/google_androidmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidmanagement1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_androidmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-androidmanagement1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidmanagement1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_androidmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidmanagement1/2.0.4+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 3a94ed698b..ace76b0448 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/androidmanagement1/src/client.rs b/gen/androidmanagement1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/androidmanagement1/src/client.rs +++ b/gen/androidmanagement1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/androidmanagement1/src/lib.rs b/gen/androidmanagement1/src/lib.rs index 21401847c4..f22798ac41 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.3+20210322*, where *20210322* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Android Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/management). diff --git a/gen/androidpublisher2-cli/Cargo.toml b/gen/androidpublisher2-cli/Cargo.toml index f4f12058cb..fbf719d60d 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.3+20200331" +version = "2.0.4+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.3+20200331" +version = "2.0.4+20200331" diff --git a/gen/androidpublisher2-cli/README.md b/gen/androidpublisher2-cli/README.md index 71b5d59004..53f0cc7063 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.3*. +This documentation was generated from the *Android Publisher* API at revision *20200331*. The CLI is at version *2.0.4*. ```bash androidpublisher2 [options] diff --git a/gen/androidpublisher2-cli/mkdocs.yml b/gen/androidpublisher2-cli/mkdocs.yml index 9232e0af99..c2fe95fac4 100644 --- a/gen/androidpublisher2-cli/mkdocs.yml +++ b/gen/androidpublisher2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v2.0.3+20200331 +site_name: Android Publisher v2.0.4+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 26a9b9bbe7..8d4541178d 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.3+20200331") + .version("2.0.4+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 39f925787c..9894b1b57e 100644 --- a/gen/androidpublisher2/Cargo.toml +++ b/gen/androidpublisher2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher2" -version = "2.0.3+20200331" +version = "2.0.4+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.3+20200331" +documentation = "https://docs.rs/google-androidpublisher2/2.0.4+20200331" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidpublisher2/README.md b/gen/androidpublisher2/README.md index 34b1a79b50..b544299317 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.3+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200331/google_androidpublisher2/AndroidPublisher) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/AndroidPublisher) ... * edits - * [*apklistings delete*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApklistingDeleteCall), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApklistingDeleteallCall), [*apklistings get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApklistingGetCall), [*apklistings list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApklistingListCall), [*apklistings patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApklistingPatchCall), [*apklistings update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApklistingUpdateCall), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditValidateCall) + * [*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) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::InappproductUpdateCall) + * [*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) * orders - * [*refund*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::OrderRefundCall) + * [*refund*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::OrderRefundCall) * purchases - * [*products get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseProductGetCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::PurchaseVoidedpurchaseListCall) -* [reviews](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::Review) - * [*get*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::ReviewReplyCall) + * [*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) Upload supported by ... -* [*apks upload edits*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditApkUploadCall) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditBundleUploadCall) -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall) -* [*images upload edits*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/api::EditImageUploadCall) +* [*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) @@ -39,17 +39,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/AndroidPublisher)** +* **[Hub](https://docs.rs/google-androidpublisher2/2.0.4+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.3+20200331/google_androidpublisher2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/client::Part)** + * **[Parts](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher2/2.0.3+20200331/google_androidpublisher2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-androidpublisher2/2.0.3+20200331/google_androidpublisher2/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidpublisher2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200331/google_androidpublisher2/client::RequestValue) and -[decodable](https://docs.rs/google-androidpublisher2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/2.0.3+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.4+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.3+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.4+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.3+20200331/google_androidpublisher2/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidpublisher2/2.0.4+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 3907c69b3a..8349049da6 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/androidpublisher2/src/client.rs b/gen/androidpublisher2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/androidpublisher2/src/client.rs +++ b/gen/androidpublisher2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/androidpublisher2/src/lib.rs b/gen/androidpublisher2/src/lib.rs index 2591c6836b..4fdbf5bda4 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.3+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Android Publisher* *v2* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). diff --git a/gen/androidpublisher3-cli/Cargo.toml b/gen/androidpublisher3-cli/Cargo.toml index 6ee2d6acbf..0d4d598ad3 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.3+20210401" +version = "2.0.4+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.3+20210401" +version = "2.0.4+20210401" diff --git a/gen/androidpublisher3-cli/README.md b/gen/androidpublisher3-cli/README.md index 82481f751c..c97374b763 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.3*. +This documentation was generated from the *Android Publisher* API at revision *20210401*. The CLI is at version *2.0.4*. ```bash androidpublisher3 [options] diff --git a/gen/androidpublisher3-cli/mkdocs.yml b/gen/androidpublisher3-cli/mkdocs.yml index 14058faebc..3c867ed658 100644 --- a/gen/androidpublisher3-cli/mkdocs.yml +++ b/gen/androidpublisher3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v2.0.3+20210401 +site_name: Android Publisher v2.0.4+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 27ad09ee4e..8dde21c10b 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.3+20210401") + .version("2.0.4+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 394e10883b..84ca8a7f94 100644 --- a/gen/androidpublisher3/Cargo.toml +++ b/gen/androidpublisher3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher3" -version = "2.0.3+20210401" +version = "2.0.4+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.3+20210401" +documentation = "https://docs.rs/google-androidpublisher3/2.0.4+20210401" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidpublisher3/README.md b/gen/androidpublisher3/README.md index b463795227..c0a6b9a5f7 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.3+20210401*, where *20210401* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210401/google_androidpublisher3/AndroidPublisher) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/AndroidPublisher) ... * edits - * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditValidateCall) + * [*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) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InappproductUpdateCall) + * [*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) * internalappsharingartifacts - * [*uploadapk*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) + * [*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) * orders - * [*refund*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::OrderRefundCall) + * [*refund*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::OrderRefundCall) * purchases - * [*products acknowledge*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseProductAcknowledgeCall), [*products get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseProductGetCall), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseSubscriptionAcknowledgeCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::PurchaseVoidedpurchaseListCall) -* [reviews](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::Review) - * [*get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::ReviewReplyCall) + * [*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) * systemapks - * [*variants create*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::SystemapkVariantCreateCall), [*variants download*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::SystemapkVariantDownloadCall), [*variants get*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::SystemapkVariantGetCall) and [*variants list*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::SystemapkVariantListCall) + * [*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) Upload supported by ... -* [*apks upload edits*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditApkUploadCall) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditBundleUploadCall) -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditDeobfuscationfileUploadCall) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditExpansionfileUploadCall) -* [*images upload edits*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::EditImageUploadCall) -* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) -* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) +* [*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) Download supported by ... -* [*variants download systemapks*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/api::SystemapkVariantDownloadCall) +* [*variants download systemapks*](https://docs.rs/google-androidpublisher3/2.0.4+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.3+20210401/google_androidpublisher3/AndroidPublisher)** +* **[Hub](https://docs.rs/google-androidpublisher3/2.0.4+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.3+20210401/google_androidpublisher3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/client::Part)** + * **[Parts](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher3/2.0.3+20210401/google_androidpublisher3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -162,17 +162,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +182,29 @@ Methods supporting uploads can do so using up to 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.3+20210401/google_androidpublisher3/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidpublisher3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210401/google_androidpublisher3/client::RequestValue) and -[decodable](https://docs.rs/google-androidpublisher3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher3/2.0.3+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.4+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.3+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.4+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.3+20210401/google_androidpublisher3/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidpublisher3/2.0.4+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 16694f0b1d..18a664a898 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/androidpublisher3/src/client.rs b/gen/androidpublisher3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/androidpublisher3/src/client.rs +++ b/gen/androidpublisher3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/androidpublisher3/src/lib.rs b/gen/androidpublisher3/src/lib.rs index 09c097f426..7e14b932eb 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.3+20210401*, where *20210401* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Android Publisher* *v3* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). diff --git a/gen/apigateway1-cli/Cargo.toml b/gen/apigateway1-cli/Cargo.toml index 78f768d564..88595df9e8 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/apigateway1-cli/README.md b/gen/apigateway1-cli/README.md index f58a0c2850..20789c05a6 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.3*. +This documentation was generated from the *apigateway* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash apigateway1 [options] diff --git a/gen/apigateway1-cli/mkdocs.yml b/gen/apigateway1-cli/mkdocs.yml index 820f7961be..60c59f75bd 100644 --- a/gen/apigateway1-cli/mkdocs.yml +++ b/gen/apigateway1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: apigateway v2.0.3+20210318 +site_name: apigateway v2.0.4+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 cf0e19e5c5..1f777e6b12 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.3+20210318") + .version("2.0.4+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 80e4c41d26..b8da23b0b8 100644 --- a/gen/apigateway1/Cargo.toml +++ b/gen/apigateway1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apigateway1" -version = "2.0.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-apigateway1/2.0.4+20210318" license = "MIT" keywords = ["apigateway", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/apigateway1/README.md b/gen/apigateway1/README.md index 9e6db04b7c..ff1f56c805 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.3+20210318*, where *20210318* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_apigateway1/Apigateway) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/Apigateway) ... * projects - * [*locations apis configs create*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigCreateCall), [*locations apis configs delete*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigDeleteCall), [*locations apis configs get*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigGetCall), [*locations apis configs get iam policy*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigGetIamPolicyCall), [*locations apis configs list*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigListCall), [*locations apis configs patch*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigPatchCall), [*locations apis configs set iam policy*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigSetIamPolicyCall), [*locations apis configs test iam permissions*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiConfigTestIamPermissionCall), [*locations apis create*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiCreateCall), [*locations apis delete*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiDeleteCall), [*locations apis get*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiGetCall), [*locations apis get iam policy*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiGetIamPolicyCall), [*locations apis list*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiListCall), [*locations apis patch*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiPatchCall), [*locations apis set iam policy*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiSetIamPolicyCall), [*locations apis test iam permissions*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationApiTestIamPermissionCall), [*locations gateways create*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayCreateCall), [*locations gateways delete*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayDeleteCall), [*locations gateways get*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayGetCall), [*locations gateways get iam policy*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayGetIamPolicyCall), [*locations gateways list*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayListCall), [*locations gateways patch*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayPatchCall), [*locations gateways set iam policy*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewaySetIamPolicyCall), [*locations gateways test iam permissions*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGatewayTestIamPermissionCall), [*locations get*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210318/google_apigateway1/Apigateway)** +* **[Hub](https://docs.rs/google-apigateway1/2.0.4+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.3+20210318/google_apigateway1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/client::CallBuilder) -* **[Resources](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/client::Part)** + * **[Parts](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apigateway1/2.0.3+20210318/google_apigateway1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apigateway1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-apigateway1/2.0.3+20210318/google_apigateway1/client::Delegate) to the -[Method Builder](https://docs.rs/google-apigateway1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_apigateway1/client::RequestValue) and -[decodable](https://docs.rs/google-apigateway1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apigateway1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_apigateway1/client::RequestValue) are moved +* [request values](https://docs.rs/google-apigateway1/2.0.4+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 c251e918c8..3f9e49b443 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/apigateway1/src/client.rs b/gen/apigateway1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/apigateway1/src/client.rs +++ b/gen/apigateway1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/apigateway1/src/lib.rs b/gen/apigateway1/src/lib.rs index a05557e310..ad1cf4c948 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.3+20210318*, where *20210318* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *apigateway* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/api-gateway/docs). diff --git a/gen/apigee1-cli/Cargo.toml b/gen/apigee1-cli/Cargo.toml index 8d7c4046ba..e2f135f446 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/apigee1-cli/README.md b/gen/apigee1-cli/README.md index 81efc9d787..251d34cfb6 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.3*. +This documentation was generated from the *Apigee* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash apigee1 [options] diff --git a/gen/apigee1-cli/mkdocs.yml b/gen/apigee1-cli/mkdocs.yml index a92f5b3acb..0461e6a6b1 100644 --- a/gen/apigee1-cli/mkdocs.yml +++ b/gen/apigee1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Apigee v2.0.3+20210319 +site_name: Apigee v2.0.4+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 0c22651ba0..29f50e5e06 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.3+20210319") + .version("2.0.4+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 6804a7316b..0a3e8969ef 100644 --- a/gen/apigee1/Cargo.toml +++ b/gen/apigee1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apigee1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-apigee1/2.0.4+20210319" license = "MIT" keywords = ["apigee", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/apigee1/README.md b/gen/apigee1/README.md index e34d9ed583..f8399ad130 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.3+20210319*, where *20210319* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_apigee1/Apigee) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/Apigee) ... * hybrid - * [*issuers list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::HybridIssuerListCall) + * [*issuers list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::HybridIssuerListCall) * organizations - * [*analytics datastores create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAnalyticDatastoreCreateCall), [*analytics datastores delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAnalyticDatastoreDeleteCall), [*analytics datastores get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAnalyticDatastoreGetCall), [*analytics datastores list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAnalyticDatastoreListCall), [*analytics datastores test*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAnalyticDatastoreTestCall), [*analytics datastores update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAnalyticDatastoreUpdateCall), [*apiproducts attributes*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductAttributeCall), [*apiproducts attributes delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductAttributeDeleteCall), [*apiproducts attributes get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductAttributeGetCall), [*apiproducts attributes list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductAttributeListCall), [*apiproducts attributes update api product attribute*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductAttributeUpdateApiProductAttributeCall), [*apiproducts create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductCreateCall), [*apiproducts delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductDeleteCall), [*apiproducts get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductGetCall), [*apiproducts list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductListCall), [*apiproducts update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiproductUpdateCall), [*apis create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiCreateCall), [*apis delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiDeleteCall), [*apis deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiDeploymentListCall), [*apis get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiGetCall), [*apis keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiKeyvaluemapCreateCall), [*apis keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiKeyvaluemapDeleteCall), [*apis list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiListCall), [*apis revisions delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiRevisionDeleteCall), [*apis revisions deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiRevisionDeploymentListCall), [*apis revisions get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiRevisionGetCall), [*apis revisions update api proxy revision*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationApiRevisionUpdateApiProxyRevisionCall), [*apps get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAppGetCall), [*apps list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationAppListCall), [*create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationCreateCall), [*datacollectors create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDatacollectorCreateCall), [*datacollectors delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDatacollectorDeleteCall), [*datacollectors get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDatacollectorGetCall), [*datacollectors list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDatacollectorListCall), [*datacollectors patch*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDatacollectorPatchCall), [*delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeleteCall), [*deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeploymentListCall), [*developers apps attributes*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeCall), [*developers apps attributes delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeDeleteCall), [*developers apps attributes get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeGetCall), [*developers apps attributes list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeListCall), [*developers apps attributes update developer app attribute*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeUpdateDeveloperAppAttributeCall), [*developers apps create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppCreateCall), [*developers apps delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppDeleteCall), [*developers apps generate key pair or update developer app status*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppGenerateKeyPairOrUpdateDeveloperAppStatuCall), [*developers apps get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppGetCall), [*developers apps keys apiproducts delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyApiproductDeleteCall), [*developers apps keys apiproducts update developer app key api product*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyApiproductUpdateDeveloperAppKeyApiProductCall), [*developers apps keys create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyCreateCall), [*developers apps keys create create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyCreateCreateCall), [*developers apps keys delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyDeleteCall), [*developers apps keys get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyGetCall), [*developers apps keys replace developer app key*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyReplaceDeveloperAppKeyCall), [*developers apps keys update developer app key*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppKeyUpdateDeveloperAppKeyCall), [*developers apps list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppListCall), [*developers apps update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAppUpdateCall), [*developers attributes*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAttributeCall), [*developers attributes delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAttributeDeleteCall), [*developers attributes get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAttributeGetCall), [*developers attributes list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAttributeListCall), [*developers attributes update developer attribute*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperAttributeUpdateDeveloperAttributeCall), [*developers create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperCreateCall), [*developers delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperDeleteCall), [*developers get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperGetCall), [*developers list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperListCall), [*developers set developer status*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperSetDeveloperStatuCall), [*developers update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationDeveloperUpdateCall), [*envgroups attachments create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentCreateCall), [*envgroups attachments delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentDeleteCall), [*envgroups attachments get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentGetCall), [*envgroups attachments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentListCall), [*envgroups create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupCreateCall), [*envgroups delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupDeleteCall), [*envgroups get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupGetCall), [*envgroups list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupListCall), [*envgroups patch*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvgroupPatchCall), [*environments analytics admin get schemav2*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticAdminGetSchemav2Call), [*environments analytics exports create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportCreateCall), [*environments analytics exports get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportGetCall), [*environments analytics exports list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportListCall), [*environments apis deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiDeploymentListCall), [*environments apis revisions debugsessions create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionCreateCall), [*environments apis revisions debugsessions data get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDataGetCall), [*environments apis revisions debugsessions delete data*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDeleteDataCall), [*environments apis revisions debugsessions get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionGetCall), [*environments apis revisions debugsessions list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionListCall), [*environments apis revisions deploy*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeployCall), [*environments apis revisions deployments generate deploy change report*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateDeployChangeReportCall), [*environments apis revisions deployments generate undeploy change report*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateUndeployChangeReportCall), [*environments apis revisions get deployments*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionGetDeploymentCall), [*environments apis revisions undeploy*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionUndeployCall), [*environments caches delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentCacheDeleteCall), [*environments create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentCreateCall), [*environments delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentDeleteCall), [*environments deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentDeploymentListCall), [*environments flowhooks attach shared flow to flow hook*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookAttachSharedFlowToFlowHookCall), [*environments flowhooks detach shared flow from flow hook*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookDetachSharedFlowFromFlowHookCall), [*environments flowhooks get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookGetCall), [*environments get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentGetCall), [*environments get debugmask*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentGetDebugmaskCall), [*environments get deployed config*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentGetDeployedConfigCall), [*environments get iam policy*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentGetIamPolicyCall), [*environments get trace config*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentGetTraceConfigCall), [*environments keystores aliases create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCreateCall), [*environments keystores aliases csr*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCsrCall), [*environments keystores aliases delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseDeleteCall), [*environments keystores aliases get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCall), [*environments keystores aliases get certificate*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCertificateCall), [*environments keystores aliases update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseUpdateCall), [*environments keystores create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreCreateCall), [*environments keystores delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreDeleteCall), [*environments keystores get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreGetCall), [*environments keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeyvaluemapCreateCall), [*environments keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentKeyvaluemapDeleteCall), [*environments optimized stats get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentOptimizedStatGetCall), [*environments queries create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentQueryCreateCall), [*environments queries get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentQueryGetCall), [*environments queries get result*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentQueryGetResultCall), [*environments queries list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentQueryListCall), [*environments references create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentReferenceCreateCall), [*environments references delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentReferenceDeleteCall), [*environments references get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentReferenceGetCall), [*environments references update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentReferenceUpdateCall), [*environments resourcefiles create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileCreateCall), [*environments resourcefiles delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileDeleteCall), [*environments resourcefiles get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileGetCall), [*environments resourcefiles list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileListCall), [*environments resourcefiles list environment resources*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileListEnvironmentResourceCall), [*environments resourcefiles update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileUpdateCall), [*environments set iam policy*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentSetIamPolicyCall), [*environments sharedflows deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowDeploymentListCall), [*environments sharedflows revisions deploy*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionDeployCall), [*environments sharedflows revisions get deployments*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionGetDeploymentCall), [*environments sharedflows revisions undeploy*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionUndeployCall), [*environments stats get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentStatGetCall), [*environments subscribe*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentSubscribeCall), [*environments targetservers create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverCreateCall), [*environments targetservers delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverDeleteCall), [*environments targetservers get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverGetCall), [*environments targetservers update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverUpdateCall), [*environments test iam permissions*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTestIamPermissionCall), [*environments trace config overrides create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideCreateCall), [*environments trace config overrides delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideDeleteCall), [*environments trace config overrides get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideGetCall), [*environments trace config overrides list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideListCall), [*environments trace config overrides patch*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverridePatchCall), [*environments unsubscribe*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentUnsubscribeCall), [*environments update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentUpdateCall), [*environments update debugmask*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentUpdateDebugmaskCall), [*environments update environment*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentUpdateEnvironmentCall), [*environments update trace config*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationEnvironmentUpdateTraceConfigCall), [*get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationGetCall), [*get deployed ingress config*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationGetDeployedIngressConfigCall), [*get sync authorization*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationGetSyncAuthorizationCall), [*host queries create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationHostQueryCreateCall), [*host queries get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationHostQueryGetCall), [*host queries get result*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationHostQueryGetResultCall), [*host queries get result view*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationHostQueryGetResultViewCall), [*host queries list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationHostQueryListCall), [*host stats get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationHostStatGetCall), [*instances attachments create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceAttachmentCreateCall), [*instances attachments delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceAttachmentDeleteCall), [*instances attachments get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceAttachmentGetCall), [*instances attachments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceAttachmentListCall), [*instances canaryevaluations create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceCanaryevaluationCreateCall), [*instances canaryevaluations get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceCanaryevaluationGetCall), [*instances create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceCreateCall), [*instances delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceDeleteCall), [*instances get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceGetCall), [*instances list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceListCall), [*instances nat addresses activate*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceNatAddresseActivateCall), [*instances nat addresses create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceNatAddresseCreateCall), [*instances nat addresses delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceNatAddresseDeleteCall), [*instances nat addresses get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceNatAddresseGetCall), [*instances nat addresses list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceNatAddresseListCall), [*instances report status*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationInstanceReportStatuCall), [*keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationKeyvaluemapCreateCall), [*keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationKeyvaluemapDeleteCall), [*list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationListCall), [*operations get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationOperationListCall), [*optimized host stats get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationOptimizedHostStatGetCall), [*reports create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationReportCreateCall), [*reports delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationReportDeleteCall), [*reports get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationReportGetCall), [*reports list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationReportListCall), [*reports update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationReportUpdateCall), [*set sync authorization*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSetSyncAuthorizationCall), [*sharedflows create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowCreateCall), [*sharedflows delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowDeleteCall), [*sharedflows deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowDeploymentListCall), [*sharedflows get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowGetCall), [*sharedflows list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowListCall), [*sharedflows revisions delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowRevisionDeleteCall), [*sharedflows revisions deployments list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowRevisionDeploymentListCall), [*sharedflows revisions get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowRevisionGetCall), [*sharedflows revisions update shared flow revision*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSharedflowRevisionUpdateSharedFlowRevisionCall), [*sites apicategories create*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSiteApicategoryCreateCall), [*sites apicategories delete*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSiteApicategoryDeleteCall), [*sites apicategories get*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSiteApicategoryGetCall), [*sites apicategories list*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSiteApicategoryListCall), [*sites apicategories patch*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationSiteApicategoryPatchCall) and [*update*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::OrganizationUpdateCall) + * [*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) * projects - * [*provision organization*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/api::ProjectProvisionOrganizationCall) + * [*provision organization*](https://docs.rs/google-apigee1/2.0.4+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.3+20210319/google_apigee1/Apigee)** +* **[Hub](https://docs.rs/google-apigee1/2.0.4+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.3+20210319/google_apigee1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/client::CallBuilder) -* **[Resources](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/client::Part)** + * **[Parts](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apigee1/2.0.3+20210319/google_apigee1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -155,17 +155,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apigee1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-apigee1/2.0.3+20210319/google_apigee1/client::Delegate) to the -[Method Builder](https://docs.rs/google-apigee1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_apigee1/client::RequestValue) and -[decodable](https://docs.rs/google-apigee1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apigee1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_apigee1/client::RequestValue) are moved +* [request values](https://docs.rs/google-apigee1/2.0.4+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 330b4a78f1..951237fa58 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/apigee1/src/client.rs b/gen/apigee1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/apigee1/src/client.rs +++ b/gen/apigee1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/apigee1/src/lib.rs b/gen/apigee1/src/lib.rs index 08a32496ae..46c1f404d1 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.3+20210319*, where *20210319* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Apigee* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/apigee-api-management/). diff --git a/gen/appengine1-cli/Cargo.toml b/gen/appengine1-cli/Cargo.toml index 068830d004..41d7376016 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/appengine1-cli/README.md b/gen/appengine1-cli/README.md index ff02dfd0f0..4d110e74f9 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.3*. +This documentation was generated from the *appengine* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash appengine1 [options] diff --git a/gen/appengine1-cli/mkdocs.yml b/gen/appengine1-cli/mkdocs.yml index cf9576ad14..53ced52bdd 100644 --- a/gen/appengine1-cli/mkdocs.yml +++ b/gen/appengine1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v2.0.3+20210324 +site_name: appengine v2.0.4+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 1891424366..b40dc7e231 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.3+20210324") + .version("2.0.4+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 9a70b48659..759fe5ae5c 100644 --- a/gen/appengine1/Cargo.toml +++ b/gen/appengine1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-appengine1/2.0.4+20210324" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appengine1/README.md b/gen/appengine1/README.md index 11f1b06f25..273829426f 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.3+20210324*, where *20210324* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_appengine1/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/Appengine) ... * apps - * [*authorized certificates create*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppAuthorizedDomainListCall), [*create*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppCreateCall), [*domain mappings create*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppDomainMappingCreateCall), [*domain mappings delete*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppDomainMappingDeleteCall), [*domain mappings get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppDomainMappingGetCall), [*domain mappings list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppDomainMappingListCall), [*domain mappings patch*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppFirewallIngressRulePatchCall), [*get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppPatchCall), [*repair*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppRepairCall), [*services delete*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/api::AppServiceVersionPatchCall) + * [*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) @@ -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.3+20210324/google_appengine1/Appengine)** +* **[Hub](https://docs.rs/google-appengine1/2.0.4+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.3+20210324/google_appengine1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/client::Part)** + * **[Parts](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1/2.0.3+20210324/google_appengine1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-appengine1/2.0.3+20210324/google_appengine1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_appengine1/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_appengine1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1/2.0.4+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 80ac13cac1..faf06cf96c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/appengine1/src/client.rs b/gen/appengine1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/appengine1/src/client.rs +++ b/gen/appengine1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/appengine1/src/lib.rs b/gen/appengine1/src/lib.rs index cfb87e33fa..5282e15cdb 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.3+20210324*, where *20210324* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *appengine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). diff --git a/gen/appengine1_beta4-cli/Cargo.toml b/gen/appengine1_beta4-cli/Cargo.toml index 0433f66a03..2578849ec1 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.3+20181005" +version = "2.0.4+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.3+20181005" +version = "2.0.4+20181005" diff --git a/gen/appengine1_beta4-cli/README.md b/gen/appengine1_beta4-cli/README.md index f915e92497..1a3fcb723b 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.3*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *2.0.4*. ```bash appengine1-beta4 [options] diff --git a/gen/appengine1_beta4-cli/mkdocs.yml b/gen/appengine1_beta4-cli/mkdocs.yml index ff52e108e7..cadffd7824 100644 --- a/gen/appengine1_beta4-cli/mkdocs.yml +++ b/gen/appengine1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v2.0.3+20181005 +site_name: appengine v2.0.4+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 e81ddf621b..6d7e30da74 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.3+20181005") + .version("2.0.4+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 30d68be953..e61c6d3d00 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.3+20181005" +version = "2.0.4+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.3+20181005" +documentation = "https://docs.rs/google-appengine1_beta4/2.0.4+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 6575439b11..f365283c54 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.3+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20181005/google_appengine1_beta4/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/Appengine) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppLocationListCall), [*modules delete*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleDeleteCall), [*modules get*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleGetCall), [*modules list*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleListCall), [*modules patch*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModulePatchCall), [*modules versions create*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionCreateCall), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionDeleteCall), [*modules versions get*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionGetCall), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDebugCall), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDeleteCall), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceGetCall), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceListCall), [*modules versions list*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionListCall), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppModuleVersionPatchCall), [*operations get*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppOperationListCall) and [*patch*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/api::AppPatchCall) + * [*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) @@ -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.3+20181005/google_appengine1_beta4/Appengine)** +* **[Hub](https://docs.rs/google-appengine1_beta4/2.0.4+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.3+20181005/google_appengine1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1_beta4/2.0.4+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. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-appengine1_beta4/2.0.3+20181005/google_appengine1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1_beta4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20181005/google_appengine1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1_beta4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/2.0.3+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.4+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.3+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.4+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.3+20181005/google_appengine1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1_beta4/2.0.4+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 da92596f8c..a62fbb70e9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/appengine1_beta4/src/client.rs b/gen/appengine1_beta4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/appengine1_beta4/src/client.rs +++ b/gen/appengine1_beta4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/appengine1_beta4/src/lib.rs b/gen/appengine1_beta4/src/lib.rs index b2c1dc1615..6ce3180109 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.3+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *appengine* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). diff --git a/gen/appengine1_beta5-cli/Cargo.toml b/gen/appengine1_beta5-cli/Cargo.toml index aecf285c95..54baa9382b 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.3+20181005" +version = "2.0.4+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.3+20181005" +version = "2.0.4+20181005" diff --git a/gen/appengine1_beta5-cli/README.md b/gen/appengine1_beta5-cli/README.md index c6880e8d58..f19d2edb34 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.3*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *2.0.4*. ```bash appengine1-beta5 [options] diff --git a/gen/appengine1_beta5-cli/mkdocs.yml b/gen/appengine1_beta5-cli/mkdocs.yml index 327ade3f48..6f99faa2f3 100644 --- a/gen/appengine1_beta5-cli/mkdocs.yml +++ b/gen/appengine1_beta5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v2.0.3+20181005 +site_name: appengine v2.0.4+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 0747f94dc8..d29af8ee2c 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.3+20181005") + .version("2.0.4+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 fa2ef768f1..7e8060ec1a 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.3+20181005" +version = "2.0.4+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.3+20181005" +documentation = "https://docs.rs/google-appengine1_beta5/2.0.4+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 577b8e70d2..c20af22ebe 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.3+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20181005/google_appengine1_beta5/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/Appengine) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppPatchCall), [*services delete*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/api::AppServiceVersionPatchCall) + * [*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) @@ -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.3+20181005/google_appengine1_beta5/Appengine)** +* **[Hub](https://docs.rs/google-appengine1_beta5/2.0.4+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.3+20181005/google_appengine1_beta5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/client::Part)** + * **[Parts](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1_beta5/2.0.4+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. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-appengine1_beta5/2.0.3+20181005/google_appengine1_beta5/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1_beta5/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20181005/google_appengine1_beta5/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1_beta5/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/2.0.3+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.4+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.3+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.4+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.3+20181005/google_appengine1_beta5/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1_beta5/2.0.4+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 26d3dab1b1..305675a6d7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/appengine1_beta5/src/client.rs b/gen/appengine1_beta5/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/appengine1_beta5/src/client.rs +++ b/gen/appengine1_beta5/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/appengine1_beta5/src/lib.rs b/gen/appengine1_beta5/src/lib.rs index 65a824c0f2..f6469df086 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.3+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *appengine* *v1_beta5* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). diff --git a/gen/appsactivity1-cli/Cargo.toml b/gen/appsactivity1-cli/Cargo.toml index 3974c7adc2..d7a80abcb2 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.3+20200628" +version = "2.0.4+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.3+20200628" +version = "2.0.4+20200628" diff --git a/gen/appsactivity1-cli/README.md b/gen/appsactivity1-cli/README.md index 4d90dce5a7..d7e8beb3fa 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.3*. +This documentation was generated from the *appsactivity* API at revision *20200628*. The CLI is at version *2.0.4*. ```bash appsactivity1 [options] diff --git a/gen/appsactivity1-cli/mkdocs.yml b/gen/appsactivity1-cli/mkdocs.yml index 27e7c11e0d..2680b989ea 100644 --- a/gen/appsactivity1-cli/mkdocs.yml +++ b/gen/appsactivity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appsactivity v2.0.3+20200628 +site_name: appsactivity v2.0.4+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 641853ae9a..1a87c6b6ef 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.3+20200628") + .version("2.0.4+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 746d68b42d..9a5cba96b4 100644 --- a/gen/appsactivity1/Cargo.toml +++ b/gen/appsactivity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appsactivity1" -version = "2.0.3+20200628" +version = "2.0.4+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.3+20200628" +documentation = "https://docs.rs/google-appsactivity1/2.0.4+20200628" license = "MIT" keywords = ["appsactivity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appsactivity1/README.md b/gen/appsactivity1/README.md index 44b9501f0a..794b371910 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.3+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200628/google_appsactivity1/Appsactivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/Appsactivity) ... -* [activities](https://docs.rs/google-appsactivity1/2.0.3+20200628/google_appsactivity1/api::Activity) - * [*list*](https://docs.rs/google-appsactivity1/2.0.3+20200628/google_appsactivity1/api::ActivityListCall) +* [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) @@ -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.3+20200628/google_appsactivity1/Appsactivity)** +* **[Hub](https://docs.rs/google-appsactivity1/2.0.4+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.3+20200628/google_appsactivity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/2.0.3+20200628/google_appsactivity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appsactivity1/2.0.3+20200628/google_appsactivity1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appsactivity1/2.0.3+20200628/google_appsactivity1/client::Part)** + * **[Parts](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appsactivity1/2.0.3+20200628/google_appsactivity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-appsactivity1/2.0.3+20200628/google_appsactivity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appsactivity1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200628/google_appsactivity1/client::RequestValue) and -[decodable](https://docs.rs/google-appsactivity1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/2.0.3+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.4+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.3+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.4+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.3+20200628/google_appsactivity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appsactivity1/2.0.4+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 a91f888508..8a44f9eb0d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/appsactivity1/src/client.rs b/gen/appsactivity1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/appsactivity1/src/client.rs +++ b/gen/appsactivity1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/appsactivity1/src/lib.rs b/gen/appsactivity1/src/lib.rs index 6ed842cb04..d3ba245a74 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.3+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *appsactivity* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/activity/). diff --git a/gen/appstate1-cli/Cargo.toml b/gen/appstate1-cli/Cargo.toml index ac0d5ddb04..3db36a6e66 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.3+20190627" +version = "2.0.4+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.3+20190627" +version = "2.0.4+20190627" diff --git a/gen/appstate1-cli/README.md b/gen/appstate1-cli/README.md index 408bea5ba9..fce8347862 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.3*. +This documentation was generated from the *App State* API at revision *20190627*. The CLI is at version *2.0.4*. ```bash appstate1 [options] diff --git a/gen/appstate1-cli/mkdocs.yml b/gen/appstate1-cli/mkdocs.yml index cda288c4c7..61e7f4856f 100644 --- a/gen/appstate1-cli/mkdocs.yml +++ b/gen/appstate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: App State v2.0.3+20190627 +site_name: App State v2.0.4+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 f853eb57cb..8ecbc3c8be 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.3+20190627") + .version("2.0.4+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 831d3a4eed..d484feb811 100644 --- a/gen/appstate1/Cargo.toml +++ b/gen/appstate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appstate1" -version = "2.0.3+20190627" +version = "2.0.4+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.3+20190627" +documentation = "https://docs.rs/google-appstate1/2.0.4+20190627" license = "MIT" keywords = ["appstate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appstate1/README.md b/gen/appstate1/README.md index 91ae255048..8c0807a7e5 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.3+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190627/google_appstate1/AppState) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/AppState) ... * states - * [*clear*](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/api::StateClearCall), [*delete*](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/api::StateDeleteCall), [*get*](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/api::StateGetCall), [*list*](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/api::StateListCall) and [*update*](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/api::StateUpdateCall) + * [*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) @@ -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.3+20190627/google_appstate1/AppState)** +* **[Hub](https://docs.rs/google-appstate1/2.0.4+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.3+20190627/google_appstate1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/client::Part)** + * **[Parts](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appstate1/2.0.3+20190627/google_appstate1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-appstate1/2.0.3+20190627/google_appstate1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appstate1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190627/google_appstate1/client::RequestValue) and -[decodable](https://docs.rs/google-appstate1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appstate1/2.0.3+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.4+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.3+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.4+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.3+20190627/google_appstate1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appstate1/2.0.4+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 7e56f8242f..e0eeb218a2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/appstate1/src/client.rs b/gen/appstate1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/appstate1/src/client.rs +++ b/gen/appstate1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/appstate1/src/lib.rs b/gen/appstate1/src/lib.rs index e7743c4ade..8b9e231fc4 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.3+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *App State* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/services/web/api/states). diff --git a/gen/area120tables1_alpha1-cli/Cargo.toml b/gen/area120tables1_alpha1-cli/Cargo.toml index d2c3bded89..2ab52df525 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/area120tables1_alpha1-cli/README.md b/gen/area120tables1_alpha1-cli/README.md index 9b9bb64a9e..a7d82b0f54 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.3*. +This documentation was generated from the *Area120 Tables* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash area120tables1-alpha1 [options] diff --git a/gen/area120tables1_alpha1-cli/mkdocs.yml b/gen/area120tables1_alpha1-cli/mkdocs.yml index ccd1792abe..9c5d8e2d06 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.3+20210330 +site_name: Area120 Tables v2.0.4+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 36bb05011e..373530f4b4 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.3+20210330") + .version("2.0.4+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 74530fd65b..d24f4d9db9 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.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-area120tables1_alpha1/2.0.4+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 f149c75a14..f2ba886636 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.3+20210330*, where *20210330* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_area120tables1_alpha1/Area120Tables) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/Area120Tables) ... -* [tables](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::Table) - * [*get*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableGetCall), [*list*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableListCall), [*rows batch create*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowBatchCreateCall), [*rows batch delete*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowBatchDeleteCall), [*rows batch update*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowBatchUpdateCall), [*rows create*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowCreateCall), [*rows delete*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowDeleteCall), [*rows get*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowGetCall), [*rows list*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowListCall) and [*rows patch*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::TableRowPatchCall) -* [workspaces](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::Workspace) - * [*get*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::WorkspaceGetCall) and [*list*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/api::WorkspaceListCall) +* [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) @@ -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.3+20210330/google_area120tables1_alpha1/Area120Tables)** +* **[Hub](https://docs.rs/google-area120tables1_alpha1/2.0.4+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.3+20210330/google_area120tables1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-area120tables1_alpha1/2.0.4+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. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-area120tables1_alpha1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-area120tables1_alpha1/2.0.3+20210330/google_area120tables1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-area120tables1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_area120tables1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-area120tables1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-area120tables1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_area120tables1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-area120tables1_alpha1/2.0.4+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 b3754c2239..e14d1c6323 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/area120tables1_alpha1/src/client.rs b/gen/area120tables1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/area120tables1_alpha1/src/client.rs +++ b/gen/area120tables1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/area120tables1_alpha1/src/lib.rs b/gen/area120tables1_alpha1/src/lib.rs index 479cc2589d..cf778c2488 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.3+20210330*, where *20210330* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/artifactregistry1-cli/Cargo.toml b/gen/artifactregistry1-cli/Cargo.toml index 2b77a9497b..62c656e6b7 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/artifactregistry1-cli/README.md b/gen/artifactregistry1-cli/README.md index aebc9f9925..0176bea9e3 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.3*. +This documentation was generated from the *Artifact Registry* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash artifactregistry1 [options] diff --git a/gen/artifactregistry1-cli/mkdocs.yml b/gen/artifactregistry1-cli/mkdocs.yml index 416058aefd..91a19c6776 100644 --- a/gen/artifactregistry1-cli/mkdocs.yml +++ b/gen/artifactregistry1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Artifact Registry v2.0.3+20210324 +site_name: Artifact Registry v2.0.4+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 34d74a8108..0065514824 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.3+20210324") + .version("2.0.4+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 d7f9dd5946..fd07d82914 100644 --- a/gen/artifactregistry1/Cargo.toml +++ b/gen/artifactregistry1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-artifactregistry1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-artifactregistry1/2.0.4+20210324" license = "MIT" keywords = ["artifactregistry", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/artifactregistry1/README.md b/gen/artifactregistry1/README.md index d0c5b9907e..cec3898722 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.3+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_artifactregistry1/ArtifactRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/ArtifactRegistry) ... -* [operations](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/api::Operation) - * [*cancel*](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/api::OperationCancelCall), [*delete*](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/api::OperationDeleteCall), [*get*](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/api::OperationGetCall) and [*list*](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/api::OperationListCall) +* [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) * projects - * [*locations repositories docker images list*](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageListCall) + * [*locations repositories docker images list*](https://docs.rs/google-artifactregistry1/2.0.4+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.3+20210324/google_artifactregistry1/ArtifactRegistry)** +* **[Hub](https://docs.rs/google-artifactregistry1/2.0.4+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.3+20210324/google_artifactregistry1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/client::CallBuilder) -* **[Resources](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/client::Part)** + * **[Parts](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-artifactregistry1/2.0.3+20210324/google_artifactregistry1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-artifactregistry1/2.0.3+20210324/google_artifactregistry1/client::Delegate) to the -[Method Builder](https://docs.rs/google-artifactregistry1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_artifactregistry1/client::RequestValue) and -[decodable](https://docs.rs/google-artifactregistry1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_artifactregistry1/client::RequestValue) are moved +* [request values](https://docs.rs/google-artifactregistry1/2.0.4+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 1d980c31a2..81f9bd3697 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/artifactregistry1/src/client.rs b/gen/artifactregistry1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/artifactregistry1/src/client.rs +++ b/gen/artifactregistry1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/artifactregistry1/src/lib.rs b/gen/artifactregistry1/src/lib.rs index 5ee5ee88f4..5a2fe2fa8e 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.3+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Artifact Registry* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/artifacts/docs/). diff --git a/gen/artifactregistry1_beta1-cli/Cargo.toml b/gen/artifactregistry1_beta1-cli/Cargo.toml index b36cda1693..00286ac24a 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/artifactregistry1_beta1-cli/README.md b/gen/artifactregistry1_beta1-cli/README.md index c8fa11f8c3..c093fb562e 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.3*. +This documentation was generated from the *Artifact Registry* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash artifactregistry1-beta1 [options] diff --git a/gen/artifactregistry1_beta1-cli/mkdocs.yml b/gen/artifactregistry1_beta1-cli/mkdocs.yml index 97c5790a91..871f500116 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.3+20210324 +site_name: Artifact Registry v2.0.4+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 b8b3666c4c..eaaa7477dd 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.3+20210324") + .version("2.0.4+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 2f6c007345..fb500ebb54 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.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-artifactregistry1_beta1/2.0.4+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 7bb7b80a0a..5681b83f72 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.3+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_artifactregistry1_beta1/ArtifactRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/ArtifactRegistry) ... * projects - * [*locations get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationOperationListCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositorySetIamPolicyCall) and [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryTestIamPermissionCall) + * [*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) @@ -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.3+20210324/google_artifactregistry1_beta1/ArtifactRegistry)** +* **[Hub](https://docs.rs/google-artifactregistry1_beta1/2.0.4+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.3+20210324/google_artifactregistry1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-artifactregistry1_beta1/2.0.4+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. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-artifactregistry1_beta1/2.0.3+20210324/google_artifactregistry1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-artifactregistry1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_artifactregistry1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-artifactregistry1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_artifactregistry1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-artifactregistry1_beta1/2.0.4+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 7ceb8b16ea..de9f347611 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/artifactregistry1_beta1/src/client.rs b/gen/artifactregistry1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/artifactregistry1_beta1/src/client.rs +++ b/gen/artifactregistry1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/artifactregistry1_beta1/src/lib.rs b/gen/artifactregistry1_beta1/src/lib.rs index 59103ef2fa..5977abf10e 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.3+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Artifact Registry* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/artifacts/docs/). diff --git a/gen/assuredworkloads1-cli/Cargo.toml b/gen/assuredworkloads1-cli/Cargo.toml index d08be1e985..d2858358ec 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/assuredworkloads1-cli/README.md b/gen/assuredworkloads1-cli/README.md index 345d6d7720..82b976dd9b 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.3*. +This documentation was generated from the *Assuredworkloads* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash assuredworkloads1 [options] diff --git a/gen/assuredworkloads1-cli/mkdocs.yml b/gen/assuredworkloads1-cli/mkdocs.yml index 059cad16f4..23bca99341 100644 --- a/gen/assuredworkloads1-cli/mkdocs.yml +++ b/gen/assuredworkloads1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Assuredworkloads v2.0.3+20210325 +site_name: Assuredworkloads v2.0.4+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 129e0bd605..273bb407af 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.3+20210325") + .version("2.0.4+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 2cf4e26597..63a086469d 100644 --- a/gen/assuredworkloads1/Cargo.toml +++ b/gen/assuredworkloads1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-assuredworkloads1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-assuredworkloads1/2.0.4+20210325" license = "MIT" keywords = ["assuredworkloads", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/assuredworkloads1/README.md b/gen/assuredworkloads1/README.md index b8022ae9a4..f0901b405c 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.3+20210325*, where *20210325* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_assuredworkloads1/Assuredworkloads) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/Assuredworkloads) ... * organizations - * [*locations operations get*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationOperationListCall), [*locations workloads create*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadCreateCall), [*locations workloads delete*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadDeleteCall), [*locations workloads get*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadGetCall), [*locations workloads list*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadListCall) and [*locations workloads patch*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadPatchCall) + * [*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) @@ -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.3+20210325/google_assuredworkloads1/Assuredworkloads)** +* **[Hub](https://docs.rs/google-assuredworkloads1/2.0.4+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.3+20210325/google_assuredworkloads1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/client::CallBuilder) -* **[Resources](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/client::Part)** + * **[Parts](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-assuredworkloads1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-assuredworkloads1/2.0.3+20210325/google_assuredworkloads1/client::Delegate) to the -[Method Builder](https://docs.rs/google-assuredworkloads1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_assuredworkloads1/client::RequestValue) and -[decodable](https://docs.rs/google-assuredworkloads1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-assuredworkloads1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_assuredworkloads1/client::RequestValue) are moved +* [request values](https://docs.rs/google-assuredworkloads1/2.0.4+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 3555d7d7e2..c1a36aeb5f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/assuredworkloads1/src/client.rs b/gen/assuredworkloads1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/assuredworkloads1/src/client.rs +++ b/gen/assuredworkloads1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/assuredworkloads1/src/lib.rs b/gen/assuredworkloads1/src/lib.rs index 9b5aaf9aca..12ba2833be 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.3+20210325*, where *20210325* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Assuredworkloads* *v1* API can be found at the //! [official documentation site](https://cloud.google.com). diff --git a/gen/autoscaler1_beta2-cli/Cargo.toml b/gen/autoscaler1_beta2-cli/Cargo.toml index c99ed1f4ec..7dc9e88488 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.3+20150629" +version = "2.0.4+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.3+20150629" +version = "2.0.4+20150629" diff --git a/gen/autoscaler1_beta2-cli/README.md b/gen/autoscaler1_beta2-cli/README.md index 2754ddfe02..473665c95f 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.3*. +This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *2.0.4*. ```bash autoscaler1-beta2 [options] diff --git a/gen/autoscaler1_beta2-cli/mkdocs.yml b/gen/autoscaler1_beta2-cli/mkdocs.yml index 103b381a7b..39a4fc4fcd 100644 --- a/gen/autoscaler1_beta2-cli/mkdocs.yml +++ b/gen/autoscaler1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: autoscaler v2.0.3+20150629 +site_name: autoscaler v2.0.4+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 be0dc95a6f..4a6b988f2f 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.3+20150629") + .version("2.0.4+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 40c9f36665..beb4f99316 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.3+20150629" +version = "2.0.4+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.3+20150629" +documentation = "https://docs.rs/google-autoscaler1_beta2/2.0.4+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 2fa5a2c210..fa0d151fb6 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.3+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20150629/google_autoscaler1_beta2/AutoscalerHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/AutoscalerHub) ... -* [autoscalers](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::Autoscaler) - * [*delete*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::AutoscalerListCall), [*patch*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::AutoscalerUpdateCall) +* [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) * zone operations - * [*delete*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::ZoneOperationListCall) -* [zones](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::Zone) - * [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/api::ZoneListCall) + * [*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) @@ -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.3+20150629/google_autoscaler1_beta2/AutoscalerHub)** +* **[Hub](https://docs.rs/google-autoscaler1_beta2/2.0.4+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.3+20150629/google_autoscaler1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-autoscaler1_beta2/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-autoscaler1_beta2/2.0.3+20150629/google_autoscaler1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-autoscaler1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20150629/google_autoscaler1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-autoscaler1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/2.0.3+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.4+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.3+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.4+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.3+20150629/google_autoscaler1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-autoscaler1_beta2/2.0.4+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 70d30c5871..859976cc4b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/autoscaler1_beta2/src/client.rs b/gen/autoscaler1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/autoscaler1_beta2/src/client.rs +++ b/gen/autoscaler1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/autoscaler1_beta2/src/lib.rs b/gen/autoscaler1_beta2/src/lib.rs index 866a624caf..84d0d0751c 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.3+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *autoscaler* *v1_beta2* API can be found at the //! [official documentation site](http://developers.google.com/compute/docs/autoscaler). diff --git a/gen/bigquery2-cli/Cargo.toml b/gen/bigquery2-cli/Cargo.toml index a28dbb2624..ee689378f9 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.3+20210327" +version = "2.0.4+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.3+20210327" +version = "2.0.4+20210327" diff --git a/gen/bigquery2-cli/README.md b/gen/bigquery2-cli/README.md index 31dd7a9a73..a322e8ad7d 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.3*. +This documentation was generated from the *bigquery* API at revision *20210327*. The CLI is at version *2.0.4*. ```bash bigquery2 [options] diff --git a/gen/bigquery2-cli/mkdocs.yml b/gen/bigquery2-cli/mkdocs.yml index 60abc58a06..beef1aac0d 100644 --- a/gen/bigquery2-cli/mkdocs.yml +++ b/gen/bigquery2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: bigquery v2.0.3+20210327 +site_name: bigquery v2.0.4+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 60d84e1120..43325c843c 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.3+20210327") + .version("2.0.4+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 9d6c77eacd..14641cfe66 100644 --- a/gen/bigquery2/Cargo.toml +++ b/gen/bigquery2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquery2" -version = "2.0.3+20210327" +version = "2.0.4+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.3+20210327" +documentation = "https://docs.rs/google-bigquery2/2.0.4+20210327" license = "MIT" keywords = ["bigquery", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigquery2/README.md b/gen/bigquery2/README.md index 47ce2bc9c5..a7fabfe545 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.3+20210327*, where *20210327* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210327/google_bigquery2/Bigquery) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/Bigquery) ... -* [datasets](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::Dataset) - * [*delete*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::DatasetDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::DatasetGetCall), [*insert*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::DatasetInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::DatasetListCall), [*patch*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::DatasetPatchCall) and [*update*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::DatasetUpdateCall) -* [jobs](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::Job) - * [*cancel*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobCancelCall), [*delete*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobGetCall), [*get query results*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobGetQueryResultCall), [*insert*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobListCall) and [*query*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobQueryCall) -* [models](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::Model) - * [*delete*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::ModelDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::ModelGetCall), [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::ModelListCall) and [*patch*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::ModelPatchCall) +* [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) * projects - * [*get service account*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::ProjectGetServiceAccountCall) and [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::ProjectListCall) -* [routines](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::Routine) - * [*delete*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RoutineDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RoutineGetCall), [*insert*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RoutineInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RoutineListCall) and [*update*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RoutineUpdateCall) -* [row access policies](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RowAccessPolicy) - * [*get iam policy*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RowAccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RowAccessPolicyListCall), [*set iam policy*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RowAccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::RowAccessPolicyTestIamPermissionCall) + * [*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) * tabledata - * [*insert all*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TabledataInsertAllCall) and [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TabledataListCall) -* [tables](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::Table) - * [*delete*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableGetCall), [*get iam policy*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableGetIamPolicyCall), [*insert*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableListCall), [*patch*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TablePatchCall), [*set iam policy*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableTestIamPermissionCall) and [*update*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::TableUpdateCall) + * [*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) Upload supported by ... -* [*insert jobs*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/api::JobInsertCall) +* [*insert jobs*](https://docs.rs/google-bigquery2/2.0.4+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.3+20210327/google_bigquery2/Bigquery)** +* **[Hub](https://docs.rs/google-bigquery2/2.0.4+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.3+20210327/google_bigquery2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/client::Part)** + * **[Parts](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquery2/2.0.3+20210327/google_bigquery2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-bigquery2/2.0.3+20210327/google_bigquery2/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigquery2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210327/google_bigquery2/client::RequestValue) and -[decodable](https://docs.rs/google-bigquery2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/2.0.3+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.4+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.3+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.4+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.3+20210327/google_bigquery2/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigquery2/2.0.4+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 a806b6c1f6..342d21bcd0 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/bigquery2/src/client.rs b/gen/bigquery2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/bigquery2/src/client.rs +++ b/gen/bigquery2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs index f2b2328535..a44144586e 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.3+20210327*, where *20210327* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *bigquery* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). diff --git a/gen/bigqueryconnection1_beta1-cli/Cargo.toml b/gen/bigqueryconnection1_beta1-cli/Cargo.toml index dadb4a904c..74de8a1452 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/bigqueryconnection1_beta1-cli/README.md b/gen/bigqueryconnection1_beta1-cli/README.md index 123e6ceb63..192be73c58 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.3*. +This documentation was generated from the *BigQuery Connection Service* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash bigqueryconnection1-beta1 [options] diff --git a/gen/bigqueryconnection1_beta1-cli/mkdocs.yml b/gen/bigqueryconnection1_beta1-cli/mkdocs.yml index 405c37fff9..020600ab15 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.3+20210326 +site_name: BigQuery Connection Service v2.0.4+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 e8462fb0be..5ad3f32c63 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.3+20210326") + .version("2.0.4+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 1537762b5c..4473062895 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.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+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 b5b90fb9af..1920d8fe63 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.3+20210326*, where *20210326* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService) ... * projects - * [*locations connections create*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetCall), [*locations connections get iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionPatchCall), [*locations connections set iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionTestIamPermissionCall) and [*locations connections update credential*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionUpdateCredentialCall) + * [*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) @@ -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.3+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService)** +* **[Hub](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+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.3+20210326/google_bigqueryconnection1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-bigqueryconnection1_beta1/2.0.3+20210326/google_bigqueryconnection1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_bigqueryconnection1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_bigqueryconnection1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+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 fa3fd5b47b..4f1ec9bbff 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/bigqueryconnection1_beta1/src/client.rs b/gen/bigqueryconnection1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/bigqueryconnection1_beta1/src/client.rs +++ b/gen/bigqueryconnection1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/bigqueryconnection1_beta1/src/lib.rs b/gen/bigqueryconnection1_beta1/src/lib.rs index c160f9f3ae..e36c6fdc6f 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.3+20210326*, where *20210326* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *BigQuery Connection Service* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). diff --git a/gen/bigquerydatatransfer1-cli/Cargo.toml b/gen/bigquerydatatransfer1-cli/Cargo.toml index 6330870c92..f6e4dc885a 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/bigquerydatatransfer1-cli/README.md b/gen/bigquerydatatransfer1-cli/README.md index 23931f5de0..88bcf99d30 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.3*. +This documentation was generated from the *BigQuery Data Transfer* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash bigquerydatatransfer1 [options] diff --git a/gen/bigquerydatatransfer1-cli/mkdocs.yml b/gen/bigquerydatatransfer1-cli/mkdocs.yml index 9b9a680a94..628c6ad5e5 100644 --- a/gen/bigquerydatatransfer1-cli/mkdocs.yml +++ b/gen/bigquerydatatransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Data Transfer v2.0.3+20210324 +site_name: BigQuery Data Transfer v2.0.4+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 59b9dddcfe..488c41061b 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.3+20210324") + .version("2.0.4+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 afd8b4ae0a..28722308d8 100644 --- a/gen/bigquerydatatransfer1/Cargo.toml +++ b/gen/bigquerydatatransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquerydatatransfer1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324" license = "MIT" keywords = ["bigquerydatatransfer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigquerydatatransfer1/README.md b/gen/bigquerydatatransfer1/README.md index 745f198301..612d92932b 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.3+20210324*, where *20210324* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer) ... * projects - * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceCheckValidCredCall), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceGetCall), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceListCall), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceCheckValidCredCall), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceGetCall), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceListCall), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationListCall), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigCreateCall), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigDeleteCall), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigGetCall), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigListCall), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigPatchCall), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunDeleteCall), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunGetCall), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunListCall), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunTransferLogListCall), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigScheduleRunCall), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigStartManualRunCall), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigCreateCall), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigDeleteCall), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigGetCall), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigListCall), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigPatchCall), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunDeleteCall), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunGetCall), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunListCall), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunTransferLogListCall), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigScheduleRunCall) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigStartManualRunCall) + * [*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) @@ -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.3+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer)** +* **[Hub](https://docs.rs/google-bigquerydatatransfer1/2.0.4+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.3+20210324/google_bigquerydatatransfer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/client::Part)** + * **[Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-bigquerydatatransfer1/2.0.3+20210324/google_bigquerydatatransfer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigquerydatatransfer1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_bigquerydatatransfer1/client::RequestValue) and -[decodable](https://docs.rs/google-bigquerydatatransfer1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_bigquerydatatransfer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigquerydatatransfer1/2.0.4+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 200c5f75cc..815c940e90 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/bigquerydatatransfer1/src/client.rs b/gen/bigquerydatatransfer1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/bigquerydatatransfer1/src/client.rs +++ b/gen/bigquerydatatransfer1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/bigquerydatatransfer1/src/lib.rs b/gen/bigquerydatatransfer1/src/lib.rs index a20fb68f65..6d7abfd3fb 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.3+20210324*, where *20210324* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *BigQuery Data Transfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery-transfer/). diff --git a/gen/bigqueryreservation1-cli/Cargo.toml b/gen/bigqueryreservation1-cli/Cargo.toml index e665b7d763..e51d3c214e 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/bigqueryreservation1-cli/README.md b/gen/bigqueryreservation1-cli/README.md index b294139521..59907bc970 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.3*. +This documentation was generated from the *BigQuery Reservation* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash bigqueryreservation1 [options] diff --git a/gen/bigqueryreservation1-cli/mkdocs.yml b/gen/bigqueryreservation1-cli/mkdocs.yml index 14ce940c35..c85d2aaecf 100644 --- a/gen/bigqueryreservation1-cli/mkdocs.yml +++ b/gen/bigqueryreservation1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Reservation v2.0.3+20210324 +site_name: BigQuery Reservation v2.0.4+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 657a0b1e76..65bc05a7a4 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.3+20210324") + .version("2.0.4+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 d55b012bef..c4befcb22b 100644 --- a/gen/bigqueryreservation1/Cargo.toml +++ b/gen/bigqueryreservation1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigqueryreservation1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-bigqueryreservation1/2.0.4+20210324" license = "MIT" keywords = ["bigqueryreservation", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigqueryreservation1/README.md b/gen/bigqueryreservation1/README.md index cd603fe4ac..c5ab8c501a 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.3+20210324*, where *20210324* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_bigqueryreservation1/BigQueryReservation) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/BigQueryReservation) ... * projects - * [*locations capacity commitments create*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentCreateCall), [*locations capacity commitments delete*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentDeleteCall), [*locations capacity commitments get*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentGetCall), [*locations capacity commitments list*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentListCall), [*locations capacity commitments merge*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentMergeCall), [*locations capacity commitments patch*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentPatchCall), [*locations capacity commitments split*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentSplitCall), [*locations get bi reservation*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationGetBiReservationCall), [*locations reservations assignments create*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentCreateCall), [*locations reservations assignments delete*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentDeleteCall), [*locations reservations assignments list*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentListCall), [*locations reservations assignments move*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentMoveCall), [*locations reservations create*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationCreateCall), [*locations reservations delete*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationDeleteCall), [*locations reservations get*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationGetCall), [*locations reservations list*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationListCall), [*locations reservations patch*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationReservationPatchCall), [*locations search all assignments*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationSearchAllAssignmentCall), [*locations search assignments*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationSearchAssignmentCall) and [*locations update bi reservation*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/api::ProjectLocationUpdateBiReservationCall) + * [*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) @@ -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.3+20210324/google_bigqueryreservation1/BigQueryReservation)** +* **[Hub](https://docs.rs/google-bigqueryreservation1/2.0.4+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.3+20210324/google_bigqueryreservation1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/client::Part)** + * **[Parts](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryreservation1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-bigqueryreservation1/2.0.3+20210324/google_bigqueryreservation1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigqueryreservation1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_bigqueryreservation1/client::RequestValue) and -[decodable](https://docs.rs/google-bigqueryreservation1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigqueryreservation1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_bigqueryreservation1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigqueryreservation1/2.0.4+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 ecb35c0ee1..a01579816a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/bigqueryreservation1/src/client.rs b/gen/bigqueryreservation1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/bigqueryreservation1/src/client.rs +++ b/gen/bigqueryreservation1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/bigqueryreservation1/src/lib.rs b/gen/bigqueryreservation1/src/lib.rs index 7c80ab6c59..07400507d9 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.3+20210324*, where *20210324* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *BigQuery Reservation* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). diff --git a/gen/bigtableadmin2-cli/Cargo.toml b/gen/bigtableadmin2-cli/Cargo.toml index 2e0ab6e57a..b3375471e0 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/bigtableadmin2-cli/README.md b/gen/bigtableadmin2-cli/README.md index 3f6dd32778..6050da042b 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.3*. +This documentation was generated from the *Bigtable Admin* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash bigtableadmin2 [options] diff --git a/gen/bigtableadmin2-cli/mkdocs.yml b/gen/bigtableadmin2-cli/mkdocs.yml index 4244523ad0..8a8845bf74 100644 --- a/gen/bigtableadmin2-cli/mkdocs.yml +++ b/gen/bigtableadmin2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Bigtable Admin v2.0.3+20210323 +site_name: Bigtable Admin v2.0.4+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 d18c6f9c4f..1ad96632a5 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.3+20210323") + .version("2.0.4+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 764f7b5f15..f036c70628 100644 --- a/gen/bigtableadmin2/Cargo.toml +++ b/gen/bigtableadmin2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigtableadmin2" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-bigtableadmin2/2.0.4+20210323" license = "MIT" keywords = ["bigtableadmin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigtableadmin2/README.md b/gen/bigtableadmin2/README.md index d981eb00a4..473ea6ca42 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.3+20210323*, where *20210323* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_bigtableadmin2/BigtableAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/BigtableAdmin) ... -* [operations](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::Operation) - * [*cancel*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::OperationCancelCall), [*delete*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::OperationDeleteCall), [*get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::OperationGetCall) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::OperationProjectOperationListCall) +* [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) * projects - * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileCreateCall), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileDeleteCall), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileGetCall), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileListCall), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfilePatchCall), [*instances clusters backups create*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupCreateCall), [*instances clusters backups delete*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupDeleteCall), [*instances clusters backups get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetCall), [*instances clusters backups get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetIamPolicyCall), [*instances clusters backups list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupListCall), [*instances clusters backups patch*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupPatchCall), [*instances clusters backups set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupSetIamPolicyCall), [*instances clusters backups test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupTestIamPermissionCall), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterCreateCall), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterDeleteCall), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterGetCall), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterListCall), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceClusterUpdateCall), [*instances create*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceCreateCall), [*instances delete*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceDeleteCall), [*instances get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceGetCall), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceGetIamPolicyCall), [*instances list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceListCall), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstancePartialUpdateInstanceCall), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceSetIamPolicyCall), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableCheckConsistencyCall), [*instances tables create*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableCreateCall), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableDeleteCall), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableDropRowRangeCall), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableGenerateConsistencyTokenCall), [*instances tables get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableGetCall), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableGetIamPolicyCall), [*instances tables list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableListCall), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableModifyColumnFamilyCall), [*instances tables restore*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableRestoreCall), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableSetIamPolicyCall), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTableTestIamPermissionCall), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceTestIamPermissionCall), [*instances update*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectInstanceUpdateCall), [*locations get*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210323/google_bigtableadmin2/BigtableAdmin)** +* **[Hub](https://docs.rs/google-bigtableadmin2/2.0.4+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.3+20210323/google_bigtableadmin2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/client::Part)** + * **[Parts](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-bigtableadmin2/2.0.3+20210323/google_bigtableadmin2/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigtableadmin2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_bigtableadmin2/client::RequestValue) and -[decodable](https://docs.rs/google-bigtableadmin2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigtableadmin2/2.0.3+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.4+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.3+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.4+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.3+20210323/google_bigtableadmin2/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigtableadmin2/2.0.4+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 c38e73252e..d2db69e486 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/bigtableadmin2/src/client.rs b/gen/bigtableadmin2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/bigtableadmin2/src/client.rs +++ b/gen/bigtableadmin2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/bigtableadmin2/src/lib.rs b/gen/bigtableadmin2/src/lib.rs index 62375aaf37..b11b25a1fb 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.3+20210323*, where *20210323* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Bigtable Admin* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigtable/). diff --git a/gen/billingbudgets1-cli/Cargo.toml b/gen/billingbudgets1-cli/Cargo.toml index aae03a5486..7f7f832733 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/billingbudgets1-cli/README.md b/gen/billingbudgets1-cli/README.md index 0b245250d8..d9d20544cb 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.3*. +This documentation was generated from the *CloudBillingBudget* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash billingbudgets1 [options] diff --git a/gen/billingbudgets1-cli/mkdocs.yml b/gen/billingbudgets1-cli/mkdocs.yml index 356b3a92b4..439e41dcc6 100644 --- a/gen/billingbudgets1-cli/mkdocs.yml +++ b/gen/billingbudgets1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CloudBillingBudget v2.0.3+20210326 +site_name: CloudBillingBudget v2.0.4+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 28dc1b88a0..12c114473e 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.3+20210326") + .version("2.0.4+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 4ddc32c0ac..7126b8ecd3 100644 --- a/gen/billingbudgets1/Cargo.toml +++ b/gen/billingbudgets1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-billingbudgets1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-billingbudgets1/2.0.4+20210326" license = "MIT" keywords = ["billingbudgets", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/billingbudgets1/README.md b/gen/billingbudgets1/README.md index 92a2543fa1..babe39efe0 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.3+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_billingbudgets1/CloudBillingBudget) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/CloudBillingBudget) ... * billing accounts - * [*budgets create*](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/api::BillingAccountBudgetPatchCall) + * [*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) @@ -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.3+20210326/google_billingbudgets1/CloudBillingBudget)** +* **[Hub](https://docs.rs/google-billingbudgets1/2.0.4+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.3+20210326/google_billingbudgets1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/client::CallBuilder) -* **[Resources](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/client::Part)** + * **[Parts](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-billingbudgets1/2.0.3+20210326/google_billingbudgets1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-billingbudgets1/2.0.3+20210326/google_billingbudgets1/client::Delegate) to the -[Method Builder](https://docs.rs/google-billingbudgets1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_billingbudgets1/client::RequestValue) and -[decodable](https://docs.rs/google-billingbudgets1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_billingbudgets1/client::RequestValue) are moved +* [request values](https://docs.rs/google-billingbudgets1/2.0.4+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 63ce6778e9..bda542ba97 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/billingbudgets1/src/client.rs b/gen/billingbudgets1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/billingbudgets1/src/client.rs +++ b/gen/billingbudgets1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/billingbudgets1/src/lib.rs b/gen/billingbudgets1/src/lib.rs index 403832f7b0..024fc28e68 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.3+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/billingbudgets1_beta1-cli/Cargo.toml b/gen/billingbudgets1_beta1-cli/Cargo.toml index 8da4a54179..7e7fc1ebbc 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/billingbudgets1_beta1-cli/README.md b/gen/billingbudgets1_beta1-cli/README.md index 82e7a68dda..d91212b72d 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.3*. +This documentation was generated from the *CloudBillingBudget* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash billingbudgets1-beta1 [options] diff --git a/gen/billingbudgets1_beta1-cli/mkdocs.yml b/gen/billingbudgets1_beta1-cli/mkdocs.yml index 7470db093d..1cddf49872 100644 --- a/gen/billingbudgets1_beta1-cli/mkdocs.yml +++ b/gen/billingbudgets1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CloudBillingBudget v2.0.3+20210326 +site_name: CloudBillingBudget v2.0.4+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 960604a242..b7adb27087 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.3+20210326") + .version("2.0.4+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 12e41cc58c..cda83404ed 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.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-billingbudgets1_beta1/2.0.4+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 6a07aa42d7..82e11e1fba 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.3+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_billingbudgets1_beta1/CloudBillingBudget) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/CloudBillingBudget) ... * billing accounts - * [*budgets create*](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetPatchCall) + * [*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) @@ -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.3+20210326/google_billingbudgets1_beta1/CloudBillingBudget)** +* **[Hub](https://docs.rs/google-billingbudgets1_beta1/2.0.4+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.3+20210326/google_billingbudgets1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-billingbudgets1_beta1/2.0.4+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. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-billingbudgets1_beta1/2.0.3+20210326/google_billingbudgets1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-billingbudgets1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_billingbudgets1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-billingbudgets1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_billingbudgets1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-billingbudgets1_beta1/2.0.4+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 8da471c69d..c726c166bb 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/billingbudgets1_beta1/src/client.rs b/gen/billingbudgets1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/billingbudgets1_beta1/src/client.rs +++ b/gen/billingbudgets1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/billingbudgets1_beta1/src/lib.rs b/gen/billingbudgets1_beta1/src/lib.rs index 5c35082eaa..0207f726b9 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.3+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/binaryauthorization1-cli/Cargo.toml b/gen/binaryauthorization1-cli/Cargo.toml index 018432a647..b2c007264b 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/binaryauthorization1-cli/README.md b/gen/binaryauthorization1-cli/README.md index fd71d84b54..7e1dce1c7f 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.3*. +This documentation was generated from the *Binary Authorization* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash binaryauthorization1 [options] diff --git a/gen/binaryauthorization1-cli/mkdocs.yml b/gen/binaryauthorization1-cli/mkdocs.yml index 5ff48e0c9d..247242300f 100644 --- a/gen/binaryauthorization1-cli/mkdocs.yml +++ b/gen/binaryauthorization1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Binary Authorization v2.0.3+20210318 +site_name: Binary Authorization v2.0.4+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 37012a3569..cd26b90479 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.3+20210318") + .version("2.0.4+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 10bbcb01d7..2b59f658d3 100644 --- a/gen/binaryauthorization1/Cargo.toml +++ b/gen/binaryauthorization1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-binaryauthorization1" -version = "2.0.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-binaryauthorization1/2.0.4+20210318" license = "MIT" keywords = ["binaryauthorization", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/binaryauthorization1/README.md b/gen/binaryauthorization1/README.md index 8fe23054f5..46d541edf2 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.3+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_binaryauthorization1/BinaryAuthorization) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/BinaryAuthorization) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::ProjectUpdatePolicyCall) + * [*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) * systempolicy - * [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/api::SystempolicyGetPolicyCall) + * [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.4+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.3+20210318/google_binaryauthorization1/BinaryAuthorization)** +* **[Hub](https://docs.rs/google-binaryauthorization1/2.0.4+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.3+20210318/google_binaryauthorization1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/client::CallBuilder) -* **[Resources](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/client::Part)** + * **[Parts](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-binaryauthorization1/2.0.3+20210318/google_binaryauthorization1/client::Delegate) to the -[Method Builder](https://docs.rs/google-binaryauthorization1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_binaryauthorization1/client::RequestValue) and -[decodable](https://docs.rs/google-binaryauthorization1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_binaryauthorization1/client::RequestValue) are moved +* [request values](https://docs.rs/google-binaryauthorization1/2.0.4+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 2d3b456d74..a061da0128 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/binaryauthorization1/src/client.rs b/gen/binaryauthorization1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/binaryauthorization1/src/client.rs +++ b/gen/binaryauthorization1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/binaryauthorization1/src/lib.rs b/gen/binaryauthorization1/src/lib.rs index 833f18cb36..9a5d629b31 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.3+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Binary Authorization* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). diff --git a/gen/binaryauthorization1_beta1-cli/Cargo.toml b/gen/binaryauthorization1_beta1-cli/Cargo.toml index c4e38920f1..2940fb8e07 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/binaryauthorization1_beta1-cli/README.md b/gen/binaryauthorization1_beta1-cli/README.md index 22feb16988..bb79dc2bbb 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.3*. +This documentation was generated from the *Binary Authorization* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash binaryauthorization1-beta1 [options] diff --git a/gen/binaryauthorization1_beta1-cli/mkdocs.yml b/gen/binaryauthorization1_beta1-cli/mkdocs.yml index 421c8df3b2..71fde067a4 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.3+20210318 +site_name: Binary Authorization v2.0.4+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 c5aa457f77..69dba20d57 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.3+20210318") + .version("2.0.4+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 2295a3447a..961da80cb4 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.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-binaryauthorization1_beta1/2.0.4+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 47f5ede660..01df6b4951 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.3+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_binaryauthorization1_beta1/BinaryAuthorization) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/BinaryAuthorization) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::ProjectUpdatePolicyCall) + * [*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) * systempolicy - * [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/api::SystempolicyGetPolicyCall) + * [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+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.3+20210318/google_binaryauthorization1_beta1/BinaryAuthorization)** +* **[Hub](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+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.3+20210318/google_binaryauthorization1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+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. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-binaryauthorization1_beta1/2.0.3+20210318/google_binaryauthorization1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_binaryauthorization1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_binaryauthorization1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+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 44398c533c..756186e6ab 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/binaryauthorization1_beta1/src/client.rs b/gen/binaryauthorization1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/binaryauthorization1_beta1/src/client.rs +++ b/gen/binaryauthorization1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/binaryauthorization1_beta1/src/lib.rs b/gen/binaryauthorization1_beta1/src/lib.rs index ed06d13ed7..a466762bfe 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.3+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Binary Authorization* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). diff --git a/gen/blogger3-cli/Cargo.toml b/gen/blogger3-cli/Cargo.toml index fc97815e93..f45b5d95d2 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/blogger3-cli/README.md b/gen/blogger3-cli/README.md index 1be1ec6e86..ed125efcf2 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.3*. +This documentation was generated from the *Blogger* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash blogger3 [options] diff --git a/gen/blogger3-cli/mkdocs.yml b/gen/blogger3-cli/mkdocs.yml index 4b34e25a97..379deb3926 100644 --- a/gen/blogger3-cli/mkdocs.yml +++ b/gen/blogger3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Blogger v2.0.3+20210331 +site_name: Blogger v2.0.4+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 aad5668967..0aea029c12 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.3+20210331") + .version("2.0.4+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 18024fc727..da566ad9d6 100644 --- a/gen/blogger3/Cargo.toml +++ b/gen/blogger3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-blogger3" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-blogger3/2.0.4+20210331" license = "MIT" keywords = ["blogger", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/blogger3/README.md b/gen/blogger3/README.md index faa28522d9..4ffaf59373 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.3+20210331*, where *20210331* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_blogger3/Blogger) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/Blogger) ... -* [blog user infos](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::BlogUserInfo) - * [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::BlogUserInfoGetCall) -* [blogs](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::Blog) - * [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::BlogGetCall), [*get by url*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::BlogGetByUrlCall) and [*list by user*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::BlogListByUserCall) -* [comments](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::Comment) - * [*approve*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentApproveCall), [*delete*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentGetCall), [*list*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentListCall), [*list by blog*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentListByBlogCall), [*mark as spam*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentMarkAsSpamCall) and [*remove content*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::CommentRemoveContentCall) +* [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) * page views - * [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageViewGetCall) -* [pages](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::Page) - * [*delete*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageGetCall), [*insert*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageInsertCall), [*list*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageListCall), [*patch*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PagePatchCall), [*publish*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PagePublishCall), [*revert*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageRevertCall) and [*update*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PageUpdateCall) -* [post user infos](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostUserInfo) - * [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostUserInfoGetCall) and [*list*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostUserInfoListCall) -* [posts](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::Post) - * [*delete*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostGetCall), [*get by path*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostGetByPathCall), [*insert*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostInsertCall), [*list*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostListCall), [*patch*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostPatchCall), [*publish*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostPublishCall), [*revert*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostRevertCall), [*search*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostSearchCall) and [*update*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::PostUpdateCall) -* [users](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::User) - * [*get*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/api::UserGetCall) + * [*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) @@ -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.3+20210331/google_blogger3/Blogger)** +* **[Hub](https://docs.rs/google-blogger3/2.0.4+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.3+20210331/google_blogger3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/client::CallBuilder) -* **[Resources](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/client::Part)** + * **[Parts](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-blogger3/2.0.3+20210331/google_blogger3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -159,17 +159,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-blogger3/2.0.3+20210331/google_blogger3/client::Delegate) to the -[Method Builder](https://docs.rs/google-blogger3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_blogger3/client::RequestValue) and -[decodable](https://docs.rs/google-blogger3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-blogger3/2.0.3+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.4+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.3+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.4+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.3+20210331/google_blogger3/client::RequestValue) are moved +* [request values](https://docs.rs/google-blogger3/2.0.4+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 20740f755d..8be1df32da 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/blogger3/src/client.rs b/gen/blogger3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/blogger3/src/client.rs +++ b/gen/blogger3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/blogger3/src/lib.rs b/gen/blogger3/src/lib.rs index 25f6fdad90..4c6420d453 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.3+20210331*, where *20210331* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Blogger* *v3* API can be found at the //! [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). diff --git a/gen/books1-cli/Cargo.toml b/gen/books1-cli/Cargo.toml index 98209a24b2..cc9666ded1 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/books1-cli/README.md b/gen/books1-cli/README.md index 11ef9b7de0..9cd64a7015 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.3*. +This documentation was generated from the *books* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash books1 [options] diff --git a/gen/books1-cli/mkdocs.yml b/gen/books1-cli/mkdocs.yml index ef3187d6db..5c56f067a4 100644 --- a/gen/books1-cli/mkdocs.yml +++ b/gen/books1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: books v2.0.3+20210326 +site_name: books v2.0.4+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 a3d5903bcb..2df35c84ae 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.3+20210326") + .version("2.0.4+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 6285c659aa..00d39e536e 100644 --- a/gen/books1/Cargo.toml +++ b/gen/books1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-books1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-books1/2.0.4+20210326" license = "MIT" keywords = ["books", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/books1/README.md b/gen/books1/README.md index 9e87424176..0180485661 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.3+20210326*, where *20210326* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_books1/Books) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/2.0.4+20210326/google_books1/Books) ... * bookshelves - * [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::BookshelveGetCall), [*list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::BookshelveListCall) and [*volumes list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::BookshelveVolumeListCall) + * [*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) * cloudloading - * [*add book*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::CloudloadingAddBookCall), [*delete book*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::CloudloadingDeleteBookCall) and [*update book*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::CloudloadingUpdateBookCall) + * [*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) * dictionary - * [*list offline metadata*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::DictionaryListOfflineMetadataCall) + * [*list offline metadata*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::DictionaryListOfflineMetadataCall) * familysharing - * [*get family info*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::FamilysharingGetFamilyInfoCall), [*share*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::FamilysharingShareCall) and [*unshare*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::FamilysharingUnshareCall) + * [*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) * layers - * [*annotation data get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::LayerAnnotationDataGetCall), [*annotation data list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::LayerAnnotationDataListCall), [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::LayerGetCall), [*list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::LayerListCall), [*volume annotations get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::LayerVolumeAnnotationGetCall) and [*volume annotations list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::LayerVolumeAnnotationListCall) + * [*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) * myconfig - * [*get user settings*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MyconfigGetUserSettingCall), [*release download access*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MyconfigReleaseDownloadAccesCall), [*request access*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MyconfigRequestAccesCall), [*sync volume licenses*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MyconfigSyncVolumeLicenseCall) and [*update user settings*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MyconfigUpdateUserSettingCall) + * [*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) * mylibrary - * [*annotations delete*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryAnnotationDeleteCall), [*annotations insert*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryAnnotationInsertCall), [*annotations list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryAnnotationListCall), [*annotations summary*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryAnnotationSummaryCall), [*annotations update*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryAnnotationUpdateCall), [*bookshelves add volume*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveAddVolumeCall), [*bookshelves clear volumes*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveClearVolumeCall), [*bookshelves get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveGetCall), [*bookshelves list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveListCall), [*bookshelves move volume*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveMoveVolumeCall), [*bookshelves remove volume*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveRemoveVolumeCall), [*bookshelves volumes list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryBookshelveVolumeListCall), [*readingpositions get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryReadingpositionGetCall) and [*readingpositions set position*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::MylibraryReadingpositionSetPositionCall) -* [notification](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::Notification) - * [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::NotificationGetCall) + * [*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) * onboarding - * [*list categories*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::OnboardingListCategoryCall) and [*list category volumes*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::OnboardingListCategoryVolumeCall) + * [*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) * personalizedstream - * [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::PersonalizedstreamGetCall) + * [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::PersonalizedstreamGetCall) * promooffer - * [*accept*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::PromoofferAcceptCall), [*dismiss*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::PromoofferDismisCall) and [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::PromoofferGetCall) + * [*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) * series - * [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::SeryGetCall) and [*membership get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::SeryMembershipGetCall) -* [volumes](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::Volume) - * [*associated list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeAssociatedListCall), [*get*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeGetCall), [*list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeListCall), [*mybooks list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeMybookListCall), [*recommended list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeRecommendedListCall), [*recommended rate*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeRecommendedRateCall) and [*useruploaded list*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/api::VolumeUseruploadedListCall) + * [*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) @@ -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.3+20210326/google_books1/Books)** +* **[Hub](https://docs.rs/google-books1/2.0.4+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.3+20210326/google_books1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-books1/2.0.3+20210326/google_books1/client::CallBuilder) -* **[Resources](https://docs.rs/google-books1/2.0.3+20210326/google_books1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-books1/2.0.3+20210326/google_books1/client::Part)** + * **[Parts](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-books1/2.0.3+20210326/google_books1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -168,17 +168,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-books1/2.0.3+20210326/google_books1/client::Delegate) to the -[Method Builder](https://docs.rs/google-books1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_books1/client::RequestValue) and -[decodable](https://docs.rs/google-books1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-books1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_books1/client::RequestValue) are moved +* [request values](https://docs.rs/google-books1/2.0.4+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 5a9db60e99..8c987cf186 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/books1/src/client.rs b/gen/books1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/books1/src/client.rs +++ b/gen/books1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/books1/src/lib.rs b/gen/books1/src/lib.rs index 323a1de60c..a17c0770cd 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.3+20210326*, where *20210326* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/calendar3-cli/Cargo.toml b/gen/calendar3-cli/Cargo.toml index 6691ae2973..14d1a044c4 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.3+20210327" +version = "2.0.4+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.3+20210327" +version = "2.0.4+20210327" diff --git a/gen/calendar3-cli/README.md b/gen/calendar3-cli/README.md index 0ddd7a3611..ee96b8888a 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.3*. +This documentation was generated from the *calendar* API at revision *20210327*. The CLI is at version *2.0.4*. ```bash calendar3 [options] diff --git a/gen/calendar3-cli/mkdocs.yml b/gen/calendar3-cli/mkdocs.yml index ae9c686c72..d83932865e 100644 --- a/gen/calendar3-cli/mkdocs.yml +++ b/gen/calendar3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: calendar v2.0.3+20210327 +site_name: calendar v2.0.4+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 638398e0bf..05c34e2030 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.3+20210327") + .version("2.0.4+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 f9cbd1107b..56df1de033 100644 --- a/gen/calendar3/Cargo.toml +++ b/gen/calendar3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-calendar3" -version = "2.0.3+20210327" +version = "2.0.4+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.3+20210327" +documentation = "https://docs.rs/google-calendar3/2.0.4+20210327" license = "MIT" keywords = ["calendar", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/calendar3/README.md b/gen/calendar3/README.md index 1c1d535c1a..cccdc73904 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.3+20210327*, where *20210327* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210327/google_calendar3/CalendarHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/CalendarHub) ... -* [acl](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::Acl) - * [*delete*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclInsertCall), [*list*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclListCall), [*patch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclPatchCall), [*update*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclWatchCall) -* [calendar list](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarList) - * [*delete*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListInsertCall), [*list*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListListCall), [*patch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListPatchCall), [*update*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListWatchCall) -* [calendars](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::Calendar) - * [*clear*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarClearCall), [*delete*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarInsertCall), [*patch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarPatchCall) and [*update*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarUpdateCall) -* [channels](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::Channel) - * [*stop*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::ChannelStopCall) +* [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) * colors - * [*get*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::ColorGetCall) -* [events](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::Event) - * [*delete*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventGetCall), [*import*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventImportCall), [*insert*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventInsertCall), [*instances*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventInstanceCall), [*list*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventListCall), [*move*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventMoveCall), [*patch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventPatchCall), [*quick add*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventQuickAddCall), [*update*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventWatchCall) + * [*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) * freebusy - * [*query*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::FreebusyQueryCall) -* [settings](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::Setting) - * [*get*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::SettingGetCall), [*list*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::SettingListCall) and [*watch*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::SettingWatchCall) + * [*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) Subscription supported by ... -* [*list acl*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclListCall) -* [*watch acl*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::AclWatchCall) -* [*list calendar list*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListListCall) -* [*watch calendar list*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::CalendarListWatchCall) -* [*instances events*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventInstanceCall) -* [*list events*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventListCall) -* [*watch events*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::EventWatchCall) -* [*list settings*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::SettingListCall) -* [*watch settings*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/api::SettingWatchCall) +* [*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) @@ -49,17 +49,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/CalendarHub)** +* **[Hub](https://docs.rs/google-calendar3/2.0.4+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.3+20210327/google_calendar3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/client::CallBuilder) -* **[Resources](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/client::Part)** + * **[Parts](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-calendar3/2.0.3+20210327/google_calendar3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -185,17 +185,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +205,29 @@ Methods supporting uploads can do so using up to 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.3+20210327/google_calendar3/client::Delegate) to the -[Method Builder](https://docs.rs/google-calendar3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210327/google_calendar3/client::RequestValue) and -[decodable](https://docs.rs/google-calendar3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-calendar3/2.0.3+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.4+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.3+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.4+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.3+20210327/google_calendar3/client::RequestValue) are moved +* [request values](https://docs.rs/google-calendar3/2.0.4+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 726b29380f..7e3b14674b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/calendar3/src/client.rs b/gen/calendar3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/calendar3/src/client.rs +++ b/gen/calendar3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/calendar3/src/lib.rs b/gen/calendar3/src/lib.rs index 91f28b7563..bae22ddb0a 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.3+20210327*, where *20210327* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *calendar* *v3* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). diff --git a/gen/chat1-cli/Cargo.toml b/gen/chat1-cli/Cargo.toml index 91fc944aa0..fc24361b3a 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/chat1-cli/README.md b/gen/chat1-cli/README.md index bb59b3b7c5..f356dbfdc6 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.3*. +This documentation was generated from the *Hangouts Chat* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash chat1 [options] diff --git a/gen/chat1-cli/mkdocs.yml b/gen/chat1-cli/mkdocs.yml index 48ed291591..e6f592b044 100644 --- a/gen/chat1-cli/mkdocs.yml +++ b/gen/chat1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Hangouts Chat v2.0.3+20210324 +site_name: Hangouts Chat v2.0.4+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 254b0e0e1f..569c5d29e2 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.3+20210324") + .version("2.0.4+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 00474bf60d..ce08a0d334 100644 --- a/gen/chat1/Cargo.toml +++ b/gen/chat1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chat1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-chat1/2.0.4+20210324" license = "MIT" keywords = ["chat", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chat1/README.md b/gen/chat1/README.md index 6b630aa134..3e95c6745d 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.3+20210324*, where *20210324* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_chat1/HangoutsChat) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/HangoutsChat) ... * dms - * [*conversations messages*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::DmConversationMessageCall), [*messages*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::DmMessageCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::DmWebhookCall) -* [media](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::Media) - * [*download*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::MediaDownloadCall) + * [*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) * rooms - * [*conversations messages*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::RoomConversationMessageCall), [*messages*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::RoomMessageCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::RoomWebhookCall) -* [spaces](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::Space) - * [*get*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceGetCall), [*list*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceListCall), [*members get*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMemberGetCall), [*members list*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMemberListCall), [*messages attachments get*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMessageAttachmentGetCall), [*messages create*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMessageCreateCall), [*messages delete*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMessageDeleteCall), [*messages get*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMessageGetCall), [*messages update*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceMessageUpdateCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::SpaceWebhookCall) + * [*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) Download supported by ... -* [*download media*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-chat1/2.0.4+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.3+20210324/google_chat1/HangoutsChat)** +* **[Hub](https://docs.rs/google-chat1/2.0.4+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.3+20210324/google_chat1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/client::Part)** + * **[Parts](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chat1/2.0.3+20210324/google_chat1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chat1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-chat1/2.0.3+20210324/google_chat1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chat1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_chat1/client::RequestValue) and -[decodable](https://docs.rs/google-chat1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chat1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_chat1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chat1/2.0.4+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 956720f20e..baf9e94969 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/chat1/src/client.rs b/gen/chat1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/chat1/src/client.rs +++ b/gen/chat1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/chat1/src/lib.rs b/gen/chat1/src/lib.rs index 8d41a5755d..085b3fd050 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.3+20210324*, where *20210324* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Hangouts Chat* *v1* API can be found at the //! [official documentation site](https://developers.google.com/hangouts/chat). diff --git a/gen/chromemanagement1-cli/Cargo.toml b/gen/chromemanagement1-cli/Cargo.toml index 799d3cace9..ffdae88bb1 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/chromemanagement1-cli/README.md b/gen/chromemanagement1-cli/README.md index 10d751844f..216a944f1b 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.3*. +This documentation was generated from the *Chrome Management* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash chromemanagement1 [options] diff --git a/gen/chromemanagement1-cli/mkdocs.yml b/gen/chromemanagement1-cli/mkdocs.yml index b0a6e33622..e0b6707a17 100644 --- a/gen/chromemanagement1-cli/mkdocs.yml +++ b/gen/chromemanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome Management v2.0.3+20210330 +site_name: Chrome Management v2.0.4+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 849d5c5524..e0ed6d2498 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.3+20210330") + .version("2.0.4+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 70ac173ede..516188ca06 100644 --- a/gen/chromemanagement1/Cargo.toml +++ b/gen/chromemanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromemanagement1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-chromemanagement1/2.0.4+20210330" license = "MIT" keywords = ["chromemanagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chromemanagement1/README.md b/gen/chromemanagement1/README.md index 3219471dc0..fa5cf6845f 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.3+20210330*, where *20210330* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_chromemanagement1/ChromeManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/ChromeManagement) ... * customers - * [*reports count chrome versions*](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/api::CustomerReportCountChromeVersionCall), [*reports count installed apps*](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/api::CustomerReportCountInstalledAppCall) and [*reports find installed app devices*](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/api::CustomerReportFindInstalledAppDeviceCall) + * [*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) @@ -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.3+20210330/google_chromemanagement1/ChromeManagement)** +* **[Hub](https://docs.rs/google-chromemanagement1/2.0.4+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.3+20210330/google_chromemanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/client::Part)** + * **[Parts](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromemanagement1/2.0.3+20210330/google_chromemanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromemanagement1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-chromemanagement1/2.0.3+20210330/google_chromemanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromemanagement1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_chromemanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-chromemanagement1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromemanagement1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_chromemanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromemanagement1/2.0.4+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 9e441e56d4..43f4159231 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/chromemanagement1/src/client.rs b/gen/chromemanagement1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/chromemanagement1/src/client.rs +++ b/gen/chromemanagement1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/chromemanagement1/src/lib.rs b/gen/chromemanagement1/src/lib.rs index 300f9bf6be..57698210d2 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.3+20210330*, where *20210330* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Chrome Management* *v1* API can be found at the //! [official documentation site](http://developers.google.com/chrome/management/). diff --git a/gen/chromepolicy1-cli/Cargo.toml b/gen/chromepolicy1-cli/Cargo.toml index 1ebe99d7b9..e2ac674a58 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/chromepolicy1-cli/README.md b/gen/chromepolicy1-cli/README.md index effae6285e..8eb40c79bf 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.3*. +This documentation was generated from the *Chrome Policy* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash chromepolicy1 [options] diff --git a/gen/chromepolicy1-cli/mkdocs.yml b/gen/chromepolicy1-cli/mkdocs.yml index 511c678f1a..00f232b06a 100644 --- a/gen/chromepolicy1-cli/mkdocs.yml +++ b/gen/chromepolicy1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome Policy v2.0.3+20210329 +site_name: Chrome Policy v2.0.4+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 e21eebe7e2..cf82793275 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.3+20210329") + .version("2.0.4+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 c7df62bc22..ac568e09da 100644 --- a/gen/chromepolicy1/Cargo.toml +++ b/gen/chromepolicy1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromepolicy1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-chromepolicy1/2.0.4+20210329" license = "MIT" keywords = ["chromepolicy", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chromepolicy1/README.md b/gen/chromepolicy1/README.md index ac52903b45..c4f2fbef11 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.3+20210329*, where *20210329* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_chromepolicy1/ChromePolicy) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/ChromePolicy) ... * customers - * [*policies orgunits batch inherit*](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/api::CustomerPolicyOrgunitBatchInheritCall), [*policies orgunits batch modify*](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/api::CustomerPolicyOrgunitBatchModifyCall), [*policies resolve*](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/api::CustomerPolicyResolveCall), [*policy schemas get*](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/api::CustomerPolicySchemaGetCall) and [*policy schemas list*](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/api::CustomerPolicySchemaListCall) + * [*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) @@ -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.3+20210329/google_chromepolicy1/ChromePolicy)** +* **[Hub](https://docs.rs/google-chromepolicy1/2.0.4+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.3+20210329/google_chromepolicy1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/client::Part)** + * **[Parts](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromepolicy1/2.0.3+20210329/google_chromepolicy1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromepolicy1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-chromepolicy1/2.0.3+20210329/google_chromepolicy1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromepolicy1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_chromepolicy1/client::RequestValue) and -[decodable](https://docs.rs/google-chromepolicy1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromepolicy1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_chromepolicy1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromepolicy1/2.0.4+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 2632e66d40..7a4e29fb41 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/chromepolicy1/src/client.rs b/gen/chromepolicy1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/chromepolicy1/src/client.rs +++ b/gen/chromepolicy1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/chromepolicy1/src/lib.rs b/gen/chromepolicy1/src/lib.rs index 649f0158cd..6ea5f23ac4 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.3+20210329*, where *20210329* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Chrome Policy* *v1* API can be found at the //! [official documentation site](http://developers.google.com/chrome/policy). diff --git a/gen/chromeuxreport1-cli/Cargo.toml b/gen/chromeuxreport1-cli/Cargo.toml index 43859791c3..c8bdf73855 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/chromeuxreport1-cli/README.md b/gen/chromeuxreport1-cli/README.md index e76cec8cfe..e5649c32f6 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.3*. +This documentation was generated from the *Chrome UX Report* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash chromeuxreport1 [options] diff --git a/gen/chromeuxreport1-cli/mkdocs.yml b/gen/chromeuxreport1-cli/mkdocs.yml index 6d0414700d..75e21be514 100644 --- a/gen/chromeuxreport1-cli/mkdocs.yml +++ b/gen/chromeuxreport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome UX Report v2.0.3+20210330 +site_name: Chrome UX Report v2.0.4+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 ece73a0cc0..befabb562f 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.3+20210330") + .version("2.0.4+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 c90351df7c..265017c176 100644 --- a/gen/chromeuxreport1/Cargo.toml +++ b/gen/chromeuxreport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromeuxreport1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-chromeuxreport1/2.0.4+20210330" license = "MIT" keywords = ["chromeuxreport", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chromeuxreport1/README.md b/gen/chromeuxreport1/README.md index 98c2f0af46..8aa942a10c 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.3+20210330*, where *20210330* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_chromeuxreport1/ChromeUXReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/ChromeUXReport) ... -* [records](https://docs.rs/google-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/api::Record) - * [*query record*](https://docs.rs/google-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/api::RecordQueryRecordCall) +* [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) @@ -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.3+20210330/google_chromeuxreport1/ChromeUXReport)** +* **[Hub](https://docs.rs/google-chromeuxreport1/2.0.4+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.3+20210330/google_chromeuxreport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/client::Part)** + * **[Parts](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromeuxreport1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-chromeuxreport1/2.0.3+20210330/google_chromeuxreport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromeuxreport1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_chromeuxreport1/client::RequestValue) and -[decodable](https://docs.rs/google-chromeuxreport1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromeuxreport1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_chromeuxreport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromeuxreport1/2.0.4+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 3bf0054516..5e0e46485c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/chromeuxreport1/src/client.rs b/gen/chromeuxreport1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/chromeuxreport1/src/client.rs +++ b/gen/chromeuxreport1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/chromeuxreport1/src/lib.rs b/gen/chromeuxreport1/src/lib.rs index 7766b6f4ce..dcdec47101 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.3+20210330*, where *20210330* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/classroom1-cli/Cargo.toml b/gen/classroom1-cli/Cargo.toml index 2796570a27..d59b3122a4 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/classroom1-cli/README.md b/gen/classroom1-cli/README.md index e5a22e2695..a0ab568655 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.3*. +This documentation was generated from the *classroom* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash classroom1 [options] diff --git a/gen/classroom1-cli/mkdocs.yml b/gen/classroom1-cli/mkdocs.yml index 9dc9ccce13..cbadca3400 100644 --- a/gen/classroom1-cli/mkdocs.yml +++ b/gen/classroom1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: classroom v2.0.3+20210323 +site_name: classroom v2.0.4+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 c39b6190e5..8fd833da54 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.3+20210323") + .version("2.0.4+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 ac21685203..aba36d097d 100644 --- a/gen/classroom1/Cargo.toml +++ b/gen/classroom1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-classroom1" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-classroom1/2.0.4+20210323" license = "MIT" keywords = ["classroom", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/classroom1/README.md b/gen/classroom1/README.md index 79b1dd5b8d..86eb47095f 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.3+20210323*, where *20210323* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_classroom1/Classroom) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/Classroom) ... -* [courses](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::Course) - * [*aliases create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAliaseCreateCall), [*aliases delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAliaseDeleteCall), [*aliases list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAliaseListCall), [*announcements create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAnnouncementCreateCall), [*announcements delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAnnouncementDeleteCall), [*announcements get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAnnouncementGetCall), [*announcements list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAnnouncementListCall), [*announcements modify assignees*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAnnouncementModifyAssigneeCall), [*announcements patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseAnnouncementPatchCall), [*course work create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkCreateCall), [*course work delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkDeleteCall), [*course work get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkGetCall), [*course work list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkListCall), [*course work modify assignees*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkModifyAssigneeCall), [*course work patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkPatchCall), [*course work student submissions get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionGetCall), [*course work student submissions list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionListCall), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionModifyAttachmentCall), [*course work student submissions patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionPatchCall), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionReclaimCall), [*course work student submissions return*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionReturnCall), [*course work student submissions turn in*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionTurnInCall), [*course work materials create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkMaterialCreateCall), [*course work materials delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkMaterialDeleteCall), [*course work materials get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkMaterialGetCall), [*course work materials list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkMaterialListCall), [*course work materials patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCourseWorkMaterialPatchCall), [*create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseCreateCall), [*delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseDeleteCall), [*get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseGetCall), [*list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseListCall), [*patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CoursePatchCall), [*students create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseStudentCreateCall), [*students delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseStudentDeleteCall), [*students get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseStudentGetCall), [*students list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseStudentListCall), [*teachers create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTeacherCreateCall), [*teachers delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTeacherDeleteCall), [*teachers get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTeacherGetCall), [*teachers list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTeacherListCall), [*topics create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTopicCreateCall), [*topics delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTopicDeleteCall), [*topics get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTopicGetCall), [*topics list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTopicListCall), [*topics patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseTopicPatchCall) and [*update*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::CourseUpdateCall) -* [invitations](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::Invitation) - * [*accept*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::InvitationAcceptCall), [*create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::InvitationCreateCall), [*delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::InvitationDeleteCall), [*get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::InvitationGetCall) and [*list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::InvitationListCall) -* [registrations](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::Registration) - * [*create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::RegistrationCreateCall) and [*delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::RegistrationDeleteCall) -* [user profiles](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfile) - * [*get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGetCall), [*guardian invitations create*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianInvitationCreateCall), [*guardian invitations get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianInvitationGetCall), [*guardian invitations list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianInvitationListCall), [*guardian invitations patch*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianInvitationPatchCall), [*guardians delete*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianDeleteCall), [*guardians get*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianGetCall) and [*guardians list*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/api::UserProfileGuardianListCall) +* [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) @@ -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.3+20210323/google_classroom1/Classroom)** +* **[Hub](https://docs.rs/google-classroom1/2.0.4+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.3+20210323/google_classroom1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/client::CallBuilder) -* **[Resources](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/client::Part)** + * **[Parts](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-classroom1/2.0.3+20210323/google_classroom1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -182,17 +182,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-classroom1/2.0.3+20210323/google_classroom1/client::Delegate) to the -[Method Builder](https://docs.rs/google-classroom1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_classroom1/client::RequestValue) and -[decodable](https://docs.rs/google-classroom1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-classroom1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_classroom1/client::RequestValue) are moved +* [request values](https://docs.rs/google-classroom1/2.0.4+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 9494f65531..7441997f5f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/classroom1/src/client.rs b/gen/classroom1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/classroom1/src/client.rs +++ b/gen/classroom1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/classroom1/src/lib.rs b/gen/classroom1/src/lib.rs index 16bafb8f16..113b54151a 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.3+20210323*, where *20210323* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *classroom* *v1* API can be found at the //! [official documentation site](https://developers.google.com/classroom/). diff --git a/gen/cloudasset1-cli/Cargo.toml b/gen/cloudasset1-cli/Cargo.toml index 35ee38a3b5..b6b3914017 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/cloudasset1-cli/README.md b/gen/cloudasset1-cli/README.md index 2b7e6c762d..3f46cf09c4 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.3*. +This documentation was generated from the *Cloud Asset* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash cloudasset1 [options] diff --git a/gen/cloudasset1-cli/mkdocs.yml b/gen/cloudasset1-cli/mkdocs.yml index bf7c380e86..935c23ebf6 100644 --- a/gen/cloudasset1-cli/mkdocs.yml +++ b/gen/cloudasset1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v2.0.3+20210319 +site_name: Cloud Asset v2.0.4+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 8a1301e430..b25d020cc1 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.3+20210319") + .version("2.0.4+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 25c28d994d..59d59cf053 100644 --- a/gen/cloudasset1/Cargo.toml +++ b/gen/cloudasset1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-cloudasset1/2.0.4+20210319" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudasset1/README.md b/gen/cloudasset1/README.md index 1a999dd834..486fb90c52 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.3+20210319*, where *20210319* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_cloudasset1/CloudAsset) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/CloudAsset) ... -* [feeds](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::Feed) - * [*create*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::FeedCreateCall), [*delete*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::FeedDeleteCall), [*get*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::FeedGetCall), [*list*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::FeedListCall) and [*patch*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::FeedPatchCall) -* [operations](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::Operation) - * [*get*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::OperationGetCall) +* [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) Other activities are ... -* [analyze iam policy](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::MethodAnalyzeIamPolicyCall) -* [analyze iam policy longrunning](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::MethodAnalyzeIamPolicyLongrunningCall) -* [batch get assets history](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::MethodBatchGetAssetsHistoryCall) -* [export assets](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::MethodExportAssetCall) -* [search all iam policies](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::MethodSearchAllIamPolicyCall) -* [search all resources](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/api::MethodSearchAllResourceCall) +* [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) @@ -33,17 +33,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/CloudAsset)** +* **[Hub](https://docs.rs/google-cloudasset1/2.0.4+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.3+20210319/google_cloudasset1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/client::Part)** + * **[Parts](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1/2.0.3+20210319/google_cloudasset1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudasset1/2.0.3+20210319/google_cloudasset1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudasset1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_cloudasset1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudasset1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_cloudasset1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudasset1/2.0.4+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 326a7a8285..e8227dfadf 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudasset1/src/client.rs b/gen/cloudasset1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudasset1/src/client.rs +++ b/gen/cloudasset1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudasset1/src/lib.rs b/gen/cloudasset1/src/lib.rs index aa37bcb6cd..953e1bb126 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.3+20210319*, where *20210319* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Asset* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). diff --git a/gen/cloudasset1_beta1-cli/Cargo.toml b/gen/cloudasset1_beta1-cli/Cargo.toml index 73223194cc..859ce479a5 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/cloudasset1_beta1-cli/README.md b/gen/cloudasset1_beta1-cli/README.md index 580d06edaf..100c1bf080 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.3*. +This documentation was generated from the *Cloud Asset* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash cloudasset1-beta1 [options] diff --git a/gen/cloudasset1_beta1-cli/mkdocs.yml b/gen/cloudasset1_beta1-cli/mkdocs.yml index 475ec8d5f7..d520e94579 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.3+20210319 +site_name: Cloud Asset v2.0.4+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 e92fed7fbd..a1f3ef9fc3 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.3+20210319") + .version("2.0.4+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 4474284dca..2d3bdb43fa 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.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-cloudasset1_beta1/2.0.4+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 33c5bc68a4..83096a6a0e 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.3+20210319*, where *20210319* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_cloudasset1_beta1/CloudAsset) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/CloudAsset) ... * folders - * [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::FolderExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::FolderOperationGetCall) + * [*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) * organizations - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::OrganizationBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::OrganizationExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::OrganizationOperationGetCall) + * [*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) * projects - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::ProjectBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::ProjectExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/api::ProjectOperationGetCall) + * [*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) @@ -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.3+20210319/google_cloudasset1_beta1/CloudAsset)** +* **[Hub](https://docs.rs/google-cloudasset1_beta1/2.0.4+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.3+20210319/google_cloudasset1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudasset1_beta1/2.0.4+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. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudasset1_beta1/2.0.3+20210319/google_cloudasset1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudasset1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_cloudasset1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudasset1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_cloudasset1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudasset1_beta1/2.0.4+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 b00af851cf..e11bc2ed06 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudasset1_beta1/src/client.rs b/gen/cloudasset1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudasset1_beta1/src/client.rs +++ b/gen/cloudasset1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudasset1_beta1/src/lib.rs b/gen/cloudasset1_beta1/src/lib.rs index 2b316e3c27..0b2d83dfc5 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.3+20210319*, where *20210319* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/cloudbilling1-cli/Cargo.toml b/gen/cloudbilling1-cli/Cargo.toml index 87656b5d3e..1e60f98b2f 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/cloudbilling1-cli/README.md b/gen/cloudbilling1-cli/README.md index e5f6676058..a18141bd1a 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.3*. +This documentation was generated from the *Cloudbilling* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash cloudbilling1 [options] diff --git a/gen/cloudbilling1-cli/mkdocs.yml b/gen/cloudbilling1-cli/mkdocs.yml index 6ca5caa908..d5611c092b 100644 --- a/gen/cloudbilling1-cli/mkdocs.yml +++ b/gen/cloudbilling1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudbilling v2.0.3+20210322 +site_name: Cloudbilling v2.0.4+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 fa61f4e575..cc5aafa429 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.3+20210322") + .version("2.0.4+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 b3ca533af8..0e2be860d2 100644 --- a/gen/cloudbilling1/Cargo.toml +++ b/gen/cloudbilling1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbilling1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-cloudbilling1/2.0.4+20210322" license = "MIT" keywords = ["cloudbilling", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudbilling1/README.md b/gen/cloudbilling1/README.md index 046f8ba256..2891ab66b7 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.3+20210322*, where *20210322* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_cloudbilling1/Cloudbilling) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/Cloudbilling) ... -* [billing accounts](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccount) - * [*create*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountCreateCall), [*get*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountGetCall), [*get iam policy*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountGetIamPolicyCall), [*list*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountListCall), [*patch*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountPatchCall), [*projects list*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountProjectListCall), [*set iam policy*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::BillingAccountTestIamPermissionCall) +* [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) * projects - * [*get billing info*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::ProjectGetBillingInfoCall) and [*update billing info*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::ProjectUpdateBillingInfoCall) -* [services](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::Service) - * [*list*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::ServiceListCall) and [*skus list*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/api::ServiceSkuListCall) + * [*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) @@ -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.3+20210322/google_cloudbilling1/Cloudbilling)** +* **[Hub](https://docs.rs/google-cloudbilling1/2.0.4+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.3+20210322/google_cloudbilling1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/client::Part)** + * **[Parts](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbilling1/2.0.3+20210322/google_cloudbilling1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudbilling1/2.0.3+20210322/google_cloudbilling1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudbilling1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_cloudbilling1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudbilling1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_cloudbilling1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudbilling1/2.0.4+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 b6b034ed44..cae7e812a6 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudbilling1/src/client.rs b/gen/cloudbilling1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudbilling1/src/client.rs +++ b/gen/cloudbilling1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudbilling1/src/lib.rs b/gen/cloudbilling1/src/lib.rs index 77175fb63c..66e0d8c5d4 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.3+20210322*, where *20210322* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloudbilling* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/). diff --git a/gen/cloudbuild1-cli/Cargo.toml b/gen/cloudbuild1-cli/Cargo.toml index c2c86ce119..924d29391c 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/cloudbuild1-cli/README.md b/gen/cloudbuild1-cli/README.md index 29484c81bc..24f6e68505 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.3*. +This documentation was generated from the *Cloud Build* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash cloudbuild1 [options] diff --git a/gen/cloudbuild1-cli/mkdocs.yml b/gen/cloudbuild1-cli/mkdocs.yml index 2dd51675e5..18d3cd54ad 100644 --- a/gen/cloudbuild1-cli/mkdocs.yml +++ b/gen/cloudbuild1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Build v2.0.3+20210329 +site_name: Cloud Build v2.0.4+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 ea41521356..e493d36f04 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.3+20210329") + .version("2.0.4+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 e03ae7f164..9e58971331 100644 --- a/gen/cloudbuild1/Cargo.toml +++ b/gen/cloudbuild1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbuild1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-cloudbuild1/2.0.4+20210329" license = "MIT" keywords = ["cloudbuild", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudbuild1/README.md b/gen/cloudbuild1/README.md index 113bf4d8ea..73bdca1586 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.3+20210329*, where *20210329* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_cloudbuild1/CloudBuild) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/CloudBuild) ... -* [operations](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::Operation) - * [*cancel*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::OperationCancelCall) and [*get*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::OperationGetCall) +* [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) * projects - * [*builds cancel*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectBuildCancelCall), [*builds create*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectBuildCreateCall), [*builds get*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectBuildGetCall), [*builds list*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectBuildListCall), [*builds retry*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectBuildRetryCall), [*locations builds cancel*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationBuildCancelCall), [*locations builds create*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationBuildCreateCall), [*locations builds get*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationBuildGetCall), [*locations builds list*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationBuildListCall), [*locations builds retry*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationBuildRetryCall), [*locations operations cancel*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectLocationOperationGetCall), [*triggers create*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerCreateCall), [*triggers delete*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerDeleteCall), [*triggers get*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerGetCall), [*triggers list*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerListCall), [*triggers patch*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerPatchCall), [*triggers run*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerRunCall) and [*triggers webhook*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/api::ProjectTriggerWebhookCall) + * [*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) @@ -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.3+20210329/google_cloudbuild1/CloudBuild)** +* **[Hub](https://docs.rs/google-cloudbuild1/2.0.4+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.3+20210329/google_cloudbuild1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/client::Part)** + * **[Parts](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbuild1/2.0.3+20210329/google_cloudbuild1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudbuild1/2.0.3+20210329/google_cloudbuild1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudbuild1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_cloudbuild1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudbuild1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudbuild1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_cloudbuild1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudbuild1/2.0.4+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 e1cb518260..97d8eaa390 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudbuild1/src/client.rs b/gen/cloudbuild1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudbuild1/src/client.rs +++ b/gen/cloudbuild1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudbuild1/src/lib.rs b/gen/cloudbuild1/src/lib.rs index c0774f57c4..067ebb456f 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.3+20210329*, where *20210329* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Build* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/cloud-build/docs/). diff --git a/gen/cloudchannel1-cli/Cargo.toml b/gen/cloudchannel1-cli/Cargo.toml index a4d72f6781..6f553e16f7 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/cloudchannel1-cli/README.md b/gen/cloudchannel1-cli/README.md index 48b63dd582..77a443ffc1 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.3*. +This documentation was generated from the *Cloudchannel* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash cloudchannel1 [options] diff --git a/gen/cloudchannel1-cli/mkdocs.yml b/gen/cloudchannel1-cli/mkdocs.yml index 8d7c95011b..836e19edd9 100644 --- a/gen/cloudchannel1-cli/mkdocs.yml +++ b/gen/cloudchannel1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudchannel v2.0.3+20210326 +site_name: Cloudchannel v2.0.4+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 b182b151a1..c36fd0f9d4 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.3+20210326") + .version("2.0.4+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 6d68bea728..673e648aab 100644 --- a/gen/cloudchannel1/Cargo.toml +++ b/gen/cloudchannel1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudchannel1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-cloudchannel1/2.0.4+20210326" license = "MIT" keywords = ["cloudchannel", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudchannel1/README.md b/gen/cloudchannel1/README.md index 6f1513c19f..28b8dc800f 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.3+20210326*, where *20210326* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_cloudchannel1/Cloudchannel) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/Cloudchannel) ... * accounts - * [*channel partner links create*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCreateCall), [*channel partner links customers create*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerCreateCall), [*channel partner links customers delete*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerDeleteCall), [*channel partner links customers get*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerGetCall), [*channel partner links customers list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerListCall), [*channel partner links customers patch*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerPatchCall), [*channel partner links get*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkGetCall), [*channel partner links list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkListCall), [*channel partner links patch*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkPatchCall), [*check cloud identity accounts exist*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCheckCloudIdentityAccountsExistCall), [*customers create*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerCreateCall), [*customers delete*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerDeleteCall), [*customers entitlements activate*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementActivateCall), [*customers entitlements cancel*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementCancelCall), [*customers entitlements change offer*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeOfferCall), [*customers entitlements change parameters*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeParameterCall), [*customers entitlements change renewal settings*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeRenewalSettingCall), [*customers entitlements create*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementCreateCall), [*customers entitlements get*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementGetCall), [*customers entitlements list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementListCall), [*customers entitlements start paid service*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementStartPaidServiceCall), [*customers entitlements suspend*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerEntitlementSuspendCall), [*customers get*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerGetCall), [*customers list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerListCall), [*customers list purchasable offers*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerListPurchasableOfferCall), [*customers list purchasable skus*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerListPurchasableSkuCall), [*customers patch*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerPatchCall), [*customers provision cloud identity*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerProvisionCloudIdentityCall), [*customers transfer entitlements*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerTransferEntitlementCall), [*customers transfer entitlements to google*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountCustomerTransferEntitlementsToGoogleCall), [*list subscribers*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountListSubscriberCall), [*list transferable offers*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountListTransferableOfferCall), [*list transferable skus*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountListTransferableSkuCall), [*offers list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountOfferListCall), [*register*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountRegisterCall) and [*unregister*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::AccountUnregisterCall) + * [*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) * operations - * [*cancel*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::OperationListCall) + * [*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) * products - * [*list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::ProductListCall) and [*skus list*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/api::ProductSkuListCall) + * [*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) @@ -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.3+20210326/google_cloudchannel1/Cloudchannel)** +* **[Hub](https://docs.rs/google-cloudchannel1/2.0.4+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.3+20210326/google_cloudchannel1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/client::Part)** + * **[Parts](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudchannel1/2.0.3+20210326/google_cloudchannel1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudchannel1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudchannel1/2.0.3+20210326/google_cloudchannel1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudchannel1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_cloudchannel1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudchannel1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudchannel1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_cloudchannel1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudchannel1/2.0.4+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 b1042ff6ce..b5d1e8b5c7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudchannel1/src/client.rs b/gen/cloudchannel1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudchannel1/src/client.rs +++ b/gen/cloudchannel1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudchannel1/src/lib.rs b/gen/cloudchannel1/src/lib.rs index 9466873018..0f946be7dc 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.3+20210326*, where *20210326* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloudchannel* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/channel). diff --git a/gen/clouddebugger2-cli/Cargo.toml b/gen/clouddebugger2-cli/Cargo.toml index 5cf716fe78..0f1573f0a3 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/clouddebugger2-cli/README.md b/gen/clouddebugger2-cli/README.md index d4ada02283..dbc65be489 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.3*. +This documentation was generated from the *Cloud Debugger* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash clouddebugger2 [options] diff --git a/gen/clouddebugger2-cli/mkdocs.yml b/gen/clouddebugger2-cli/mkdocs.yml index 1fd441f7fd..c5d5e97138 100644 --- a/gen/clouddebugger2-cli/mkdocs.yml +++ b/gen/clouddebugger2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Debugger v2.0.3+20210326 +site_name: Cloud Debugger v2.0.4+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 10b7e5e962..135c1322eb 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.3+20210326") + .version("2.0.4+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 c5d0fefd5d..5692cbd250 100644 --- a/gen/clouddebugger2/Cargo.toml +++ b/gen/clouddebugger2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouddebugger2" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-clouddebugger2/2.0.4+20210326" license = "MIT" keywords = ["clouddebugger", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/clouddebugger2/README.md b/gen/clouddebugger2/README.md index 7dd2be8056..accab0a0b4 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.3+20210326*, where *20210326* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_clouddebugger2/CloudDebugger) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/CloudDebugger) ... * controller - * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::ControllerDebuggeeBreakpointListCall), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::ControllerDebuggeeBreakpointUpdateCall) and [*debuggees register*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::ControllerDebuggeeRegisterCall) + * [*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) * debugger - * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointDeleteCall), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointGetCall), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointListCall), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointSetCall) and [*debuggees list*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/api::DebuggerDebuggeeListCall) + * [*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) @@ -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.3+20210326/google_clouddebugger2/CloudDebugger)** +* **[Hub](https://docs.rs/google-clouddebugger2/2.0.4+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.3+20210326/google_clouddebugger2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/client::Part)** + * **[Parts](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouddebugger2/2.0.3+20210326/google_clouddebugger2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-clouddebugger2/2.0.3+20210326/google_clouddebugger2/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouddebugger2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_clouddebugger2/client::RequestValue) and -[decodable](https://docs.rs/google-clouddebugger2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/2.0.3+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.4+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.3+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.4+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.3+20210326/google_clouddebugger2/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouddebugger2/2.0.4+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 c3c7115a90..e868223614 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/clouddebugger2/src/client.rs b/gen/clouddebugger2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/clouddebugger2/src/client.rs +++ b/gen/clouddebugger2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/clouddebugger2/src/lib.rs b/gen/clouddebugger2/src/lib.rs index 385c9fbae5..abc268441d 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.3+20210326*, where *20210326* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Debugger* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/debugger). diff --git a/gen/clouderrorreporting1_beta1-cli/Cargo.toml b/gen/clouderrorreporting1_beta1-cli/Cargo.toml index c2fe7a0471..801ec54c03 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/clouderrorreporting1_beta1-cli/README.md b/gen/clouderrorreporting1_beta1-cli/README.md index abe6ca87a3..103c21d51d 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.3*. +This documentation was generated from the *Clouderrorreporting* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash clouderrorreporting1-beta1 [options] diff --git a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml index a706ce3371..45a1ac7f41 100644 --- a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml +++ b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Clouderrorreporting v2.0.3+20210323 +site_name: Clouderrorreporting v2.0.4+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 89f4f3b1e1..3e90ca6457 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.3+20210323") + .version("2.0.4+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 73580f88ab..7c0b48800d 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.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+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 fafef4d116..2257c8b991 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.3+20210323*, where *20210323* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting) ... * projects - * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/api::ProjectDeleteEventCall), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/api::ProjectEventListCall), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/api::ProjectEventReportCall), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupStatListCall), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupGetCall) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupUpdateCall) + * [*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) @@ -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.3+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting)** +* **[Hub](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+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.3+20210323/google_clouderrorreporting1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+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. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-clouderrorreporting1_beta1/2.0.3+20210323/google_clouderrorreporting1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_clouderrorreporting1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_clouderrorreporting1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+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 39172236ff..511f7b7671 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/clouderrorreporting1_beta1/src/client.rs b/gen/clouderrorreporting1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/clouderrorreporting1_beta1/src/client.rs +++ b/gen/clouderrorreporting1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/clouderrorreporting1_beta1/src/lib.rs b/gen/clouderrorreporting1_beta1/src/lib.rs index 17d294231b..5a15402eb1 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.3+20210323*, where *20210323* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Clouderrorreporting* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/error-reporting/). diff --git a/gen/cloudfunctions1-cli/Cargo.toml b/gen/cloudfunctions1-cli/Cargo.toml index c905eeff0c..273776a95e 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/cloudfunctions1-cli/README.md b/gen/cloudfunctions1-cli/README.md index 72478e4908..c3686d7bf6 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.3*. +This documentation was generated from the *Cloud Functions* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash cloudfunctions1 [options] diff --git a/gen/cloudfunctions1-cli/mkdocs.yml b/gen/cloudfunctions1-cli/mkdocs.yml index 0bafaa987c..50fb43e9ad 100644 --- a/gen/cloudfunctions1-cli/mkdocs.yml +++ b/gen/cloudfunctions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Functions v2.0.3+20210325 +site_name: Cloud Functions v2.0.4+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 febbb566ea..b8e92b2141 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.3+20210325") + .version("2.0.4+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 681a568a5f..b966d144e3 100644 --- a/gen/cloudfunctions1/Cargo.toml +++ b/gen/cloudfunctions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudfunctions1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-cloudfunctions1/2.0.4+20210325" license = "MIT" keywords = ["cloudfunctions", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudfunctions1/README.md b/gen/cloudfunctions1/README.md index 154b76abf2..7ae1b99198 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.3+20210325*, where *20210325* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_cloudfunctions1/CloudFunctions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/CloudFunctions) ... -* [operations](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::Operation) - * [*get*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::OperationListCall) +* [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) * projects - * [*locations functions call*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionCallCall), [*locations functions create*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionCreateCall), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionDeleteCall), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGenerateDownloadUrlCall), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGenerateUploadUrlCall), [*locations functions get*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGetCall), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGetIamPolicyCall), [*locations functions list*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionListCall), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionPatchCall), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionSetIamPolicyCall), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationFunctionTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210325/google_cloudfunctions1/CloudFunctions)** +* **[Hub](https://docs.rs/google-cloudfunctions1/2.0.4+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.3+20210325/google_cloudfunctions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/client::Part)** + * **[Parts](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudfunctions1/2.0.3+20210325/google_cloudfunctions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudfunctions1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_cloudfunctions1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudfunctions1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudfunctions1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_cloudfunctions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudfunctions1/2.0.4+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 ca01f99528..26921763ab 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudfunctions1/src/client.rs b/gen/cloudfunctions1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudfunctions1/src/client.rs +++ b/gen/cloudfunctions1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudfunctions1/src/lib.rs b/gen/cloudfunctions1/src/lib.rs index feab91b42b..2ae55ac085 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.3+20210325*, where *20210325* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Functions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/functions). diff --git a/gen/cloudidentity1-cli/Cargo.toml b/gen/cloudidentity1-cli/Cargo.toml index fe9b17d2cc..4622de702b 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.3+20210310" +version = "2.0.4+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.3+20210310" +version = "2.0.4+20210310" diff --git a/gen/cloudidentity1-cli/README.md b/gen/cloudidentity1-cli/README.md index fd15105428..c8e7f1e1ac 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.3*. +This documentation was generated from the *Cloud Identity* API at revision *20210310*. The CLI is at version *2.0.4*. ```bash cloudidentity1 [options] diff --git a/gen/cloudidentity1-cli/mkdocs.yml b/gen/cloudidentity1-cli/mkdocs.yml index 62dfd74286..50e5978a7b 100644 --- a/gen/cloudidentity1-cli/mkdocs.yml +++ b/gen/cloudidentity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Identity v2.0.3+20210310 +site_name: Cloud Identity v2.0.4+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 b3af0def66..cfaae1d0ba 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.3+20210310") + .version("2.0.4+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 b232ad59b5..6de567f29e 100644 --- a/gen/cloudidentity1/Cargo.toml +++ b/gen/cloudidentity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudidentity1" -version = "2.0.3+20210310" +version = "2.0.4+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.3+20210310" +documentation = "https://docs.rs/google-cloudidentity1/2.0.4+20210310" license = "MIT" keywords = ["cloudidentity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudidentity1/README.md b/gen/cloudidentity1/README.md index d5139fee1c..4ff973d57a 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.3+20210310*, where *20210310* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210310/google_cloudidentity1/CloudIdentity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/CloudIdentity) ... * devices - * [*cancel wipe*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceCancelWipeCall), [*create*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeleteCall), [*device users approve*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserApproveCall), [*device users block*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserBlockCall), [*device users cancel wipe*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserCancelWipeCall), [*device users client states get*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStateGetCall), [*device users client states list*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStateListCall), [*device users client states patch*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStatePatchCall), [*device users delete*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserDeleteCall), [*device users get*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserGetCall), [*device users list*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserListCall), [*device users lookup*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserLookupCall), [*device users wipe*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceDeviceUserWipeCall), [*get*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceGetCall), [*list*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceListCall) and [*wipe*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::DeviceWipeCall) -* [groups](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::Group) - * [*create*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupDeleteCall), [*get*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupGetCall), [*list*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupListCall), [*lookup*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupLookupCall), [*memberships check transitive membership*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipCheckTransitiveMembershipCall), [*memberships create*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipCreateCall), [*memberships delete*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipDeleteCall), [*memberships get*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipGetCall), [*memberships get membership graph*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipGetMembershipGraphCall), [*memberships list*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipListCall), [*memberships lookup*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipLookupCall), [*memberships modify membership roles*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipModifyMembershipRoleCall), [*memberships search transitive groups*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipSearchTransitiveGroupCall), [*memberships search transitive memberships*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupMembershipSearchTransitiveMembershipCall), [*patch*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupPatchCall) and [*search*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/api::GroupSearchCall) + * [*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) @@ -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.3+20210310/google_cloudidentity1/CloudIdentity)** +* **[Hub](https://docs.rs/google-cloudidentity1/2.0.4+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.3+20210310/google_cloudidentity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/client::Part)** + * **[Parts](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudidentity1/2.0.3+20210310/google_cloudidentity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudidentity1/2.0.3+20210310/google_cloudidentity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudidentity1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210310/google_cloudidentity1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudidentity1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudidentity1/2.0.3+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.4+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.3+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.4+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.3+20210310/google_cloudidentity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudidentity1/2.0.4+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 73058ab969..fd17ff90ef 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudidentity1/src/client.rs b/gen/cloudidentity1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudidentity1/src/client.rs +++ b/gen/cloudidentity1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudidentity1/src/lib.rs b/gen/cloudidentity1/src/lib.rs index 5e73506aad..c61fce2dd0 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.3+20210310*, where *20210310* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Identity* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/identity/). diff --git a/gen/cloudiot1-cli/Cargo.toml b/gen/cloudiot1-cli/Cargo.toml index 2290109e04..af6e201cc2 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/cloudiot1-cli/README.md b/gen/cloudiot1-cli/README.md index 00172bb4f2..e664d7f7fa 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.3*. +This documentation was generated from the *Cloud Iot* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash cloudiot1 [options] diff --git a/gen/cloudiot1-cli/mkdocs.yml b/gen/cloudiot1-cli/mkdocs.yml index 728b92e5f6..b3ecdde193 100644 --- a/gen/cloudiot1-cli/mkdocs.yml +++ b/gen/cloudiot1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Iot v2.0.3+20210323 +site_name: Cloud Iot v2.0.4+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 c227d7986e..497e350f4f 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.3+20210323") + .version("2.0.4+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 686f952aa6..7887fc2711 100644 --- a/gen/cloudiot1/Cargo.toml +++ b/gen/cloudiot1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudiot1" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-cloudiot1/2.0.4+20210323" license = "MIT" keywords = ["cloudiot", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudiot1/README.md b/gen/cloudiot1/README.md index 4ae192191d..cbc74629b5 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.3+20210323*, where *20210323* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_cloudiot1/CloudIot) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/CloudIot) ... * projects - * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryBindDeviceToGatewayCall), [*locations registries create*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryCreateCall), [*locations registries delete*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeleteCall), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceConfigVersionListCall), [*locations registries devices create*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceCreateCall), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceDeleteCall), [*locations registries devices get*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceGetCall), [*locations registries devices list*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceListCall), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDevicePatchCall), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceSendCommandToDeviceCall), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceStateListCall), [*locations registries get*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryGetCall), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryGetIamPolicyCall), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupDeviceListCall), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupGetIamPolicyCall), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupSetIamPolicyCall), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupTestIamPermissionCall), [*locations registries list*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryListCall), [*locations registries patch*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryPatchCall), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistrySetIamPolicyCall), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryTestIamPermissionCall) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/api::ProjectLocationRegistryUnbindDeviceFromGatewayCall) + * [*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) @@ -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.3+20210323/google_cloudiot1/CloudIot)** +* **[Hub](https://docs.rs/google-cloudiot1/2.0.4+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.3+20210323/google_cloudiot1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/client::Part)** + * **[Parts](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudiot1/2.0.3+20210323/google_cloudiot1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudiot1/2.0.3+20210323/google_cloudiot1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudiot1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_cloudiot1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudiot1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudiot1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_cloudiot1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudiot1/2.0.4+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 701c8a13f6..1cd4d7063e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudiot1/src/client.rs b/gen/cloudiot1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudiot1/src/client.rs +++ b/gen/cloudiot1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudiot1/src/lib.rs b/gen/cloudiot1/src/lib.rs index ec68170ee3..37c1ab5c95 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.3+20210323*, where *20210323* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Iot* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iot). diff --git a/gen/cloudkms1-cli/Cargo.toml b/gen/cloudkms1-cli/Cargo.toml index f3cb8c37f4..e05fa2164a 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/cloudkms1-cli/README.md b/gen/cloudkms1-cli/README.md index 7084d03840..7f1d9ba5a9 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.3*. +This documentation was generated from the *Cloud KMS* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash cloudkms1 [options] diff --git a/gen/cloudkms1-cli/mkdocs.yml b/gen/cloudkms1-cli/mkdocs.yml index f62cbdc82d..c0582ab60b 100644 --- a/gen/cloudkms1-cli/mkdocs.yml +++ b/gen/cloudkms1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v2.0.3+20210318 +site_name: Cloud KMS v2.0.4+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 0c15d53a98..ca09d397a8 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.3+20210318") + .version("2.0.4+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 3d82647d05..0728fcf01f 100644 --- a/gen/cloudkms1/Cargo.toml +++ b/gen/cloudkms1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1" -version = "2.0.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-cloudkms1/2.0.4+20210318" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudkms1/README.md b/gen/cloudkms1/README.md index 0c753acbd6..00d380ec30 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.3+20210318*, where *20210318* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_cloudkms1/CloudKMS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/CloudKMS) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobCreateCall), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetCall), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetIamPolicyCall), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobListCall), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobSetIamPolicyCall), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobTestIamPermissionCall), [*locations key rings list*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210318/google_cloudkms1/CloudKMS)** +* **[Hub](https://docs.rs/google-cloudkms1/2.0.4+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.3+20210318/google_cloudkms1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/client::Part)** + * **[Parts](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1/2.0.3+20210318/google_cloudkms1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudkms1/2.0.3+20210318/google_cloudkms1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudkms1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_cloudkms1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudkms1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_cloudkms1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudkms1/2.0.4+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 b2185839e5..91c6f2c7f8 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudkms1/src/client.rs b/gen/cloudkms1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudkms1/src/client.rs +++ b/gen/cloudkms1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudkms1/src/lib.rs b/gen/cloudkms1/src/lib.rs index 9732d395c9..8c8ba067d1 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.3+20210318*, where *20210318* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud KMS* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). diff --git a/gen/cloudkms1_beta1-cli/Cargo.toml b/gen/cloudkms1_beta1-cli/Cargo.toml index 2e0b582053..55c704c50c 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.3+20170515" +version = "2.0.4+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.3+20170515" +version = "2.0.4+20170515" diff --git a/gen/cloudkms1_beta1-cli/README.md b/gen/cloudkms1_beta1-cli/README.md index a10e4e8118..594c5651ce 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.3*. +This documentation was generated from the *Cloud KMS* API at revision *20170515*. The CLI is at version *2.0.4*. ```bash cloudkms1-beta1 [options] diff --git a/gen/cloudkms1_beta1-cli/mkdocs.yml b/gen/cloudkms1_beta1-cli/mkdocs.yml index 276c4633a6..fe3808155c 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.3+20170515 +site_name: Cloud KMS v2.0.4+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 fb25c531f6..9c117c3a16 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.3+20170515") + .version("2.0.4+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 79957c9446..3fd7a5f24e 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.3+20170515" +version = "2.0.4+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.3+20170515" +documentation = "https://docs.rs/google-cloudkms1_beta1/2.0.4+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 2f6ba1d868..a7d49e0249 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.3+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20170515/google_cloudkms1_beta1/CloudKMS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/CloudKMS) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20170515/google_cloudkms1_beta1/CloudKMS)** +* **[Hub](https://docs.rs/google-cloudkms1_beta1/2.0.4+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.3+20170515/google_cloudkms1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudkms1_beta1/2.0.4+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. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudkms1_beta1/2.0.3+20170515/google_cloudkms1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudkms1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20170515/google_cloudkms1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudkms1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1_beta1/2.0.3+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.4+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.3+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.4+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.3+20170515/google_cloudkms1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudkms1_beta1/2.0.4+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 fab57d7186..a68bc6f0fe 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudkms1_beta1/src/client.rs b/gen/cloudkms1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudkms1_beta1/src/client.rs +++ b/gen/cloudkms1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudkms1_beta1/src/lib.rs b/gen/cloudkms1_beta1/src/lib.rs index 69415961b0..1772ec43af 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.3+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud KMS* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). diff --git a/gen/cloudlatencytest2-cli/Cargo.toml b/gen/cloudlatencytest2-cli/Cargo.toml index d9766de9a1..f1f72f8e6f 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.3+20160309" +version = "2.0.4+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.3+20160309" +version = "2.0.4+20160309" diff --git a/gen/cloudlatencytest2-cli/README.md b/gen/cloudlatencytest2-cli/README.md index c4a73ae54e..5f291c92ac 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.3*. +This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *2.0.4*. ```bash cloudlatencytest2 [options] diff --git a/gen/cloudlatencytest2-cli/mkdocs.yml b/gen/cloudlatencytest2-cli/mkdocs.yml index 6ed53c23d4..db49a2ca52 100644 --- a/gen/cloudlatencytest2-cli/mkdocs.yml +++ b/gen/cloudlatencytest2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cloudlatencytest v2.0.3+20160309 +site_name: cloudlatencytest v2.0.4+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 56132af361..e516b9cfb4 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.3+20160309") + .version("2.0.4+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 028e08ef12..d9e1a7270a 100644 --- a/gen/cloudlatencytest2/Cargo.toml +++ b/gen/cloudlatencytest2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-cloudlatencytest2" -version = "2.0.3+20160309" +version = "2.0.4+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.3+20160309" +documentation = "https://docs.rs/google-cloudlatencytest2/2.0.4+20160309" license = "MIT" keywords = ["cloudlatencytest", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudlatencytest2/README.md b/gen/cloudlatencytest2/README.md index 668ab65289..7385628ebf 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.3+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/Cloudlatencytest) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/Cloudlatencytest) ... * statscollection - * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/api::StatscollectionUpdateaggregatedstatCall) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/api::StatscollectionUpdatestatCall) + * [*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) @@ -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.3+20160309/google_cloudlatencytest2/Cloudlatencytest)** +* **[Hub](https://docs.rs/google-cloudlatencytest2/2.0.4+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.3+20160309/google_cloudlatencytest2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/client::Part)** + * **[Parts](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudlatencytest2/2.0.3+20160309/google_cloudlatencytest2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudlatencytest2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160309/google_cloudlatencytest2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudlatencytest2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/2.0.3+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.4+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.3+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.4+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.3+20160309/google_cloudlatencytest2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudlatencytest2/2.0.4+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 c811efcccb..a7bd0a24a9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudlatencytest2/src/client.rs b/gen/cloudlatencytest2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudlatencytest2/src/client.rs +++ b/gen/cloudlatencytest2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudlatencytest2/src/lib.rs b/gen/cloudlatencytest2/src/lib.rs index 3f919e0594..3178f0f421 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.3+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2). //! # Features //! diff --git a/gen/cloudmonitoring2_beta2-cli/Cargo.toml b/gen/cloudmonitoring2_beta2-cli/Cargo.toml index 8f775bd9cf..fbd2a407e8 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.3+20170501" +version = "2.0.4+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.3+20170501" +version = "2.0.4+20170501" diff --git a/gen/cloudmonitoring2_beta2-cli/README.md b/gen/cloudmonitoring2_beta2-cli/README.md index 87629bbc71..00b5937aaa 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.3*. +This documentation was generated from the *Cloud Monitoring* API at revision *20170501*. The CLI is at version *2.0.4*. ```bash cloudmonitoring2-beta2 [options] diff --git a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml index be7e92c0b8..82ae8c1875 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.3+20170501 +site_name: Cloud Monitoring v2.0.4+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 ea85615e09..c61f7ded38 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.3+20170501") + .version("2.0.4+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 71605f2dc5..24ffcb9561 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.3+20170501" +version = "2.0.4+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.3+20170501" +documentation = "https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+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 288bb4bc8b..ffdbfd7a78 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.3+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20170501/google_cloudmonitoring2_beta2/CloudMonitoring) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/CloudMonitoring) ... -* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptor) - * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorCreateCall), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorDeleteCall) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorListCall) +* [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) * timeseries - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::TimeseryListCall) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::TimeseryWriteCall) -* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptor) - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptorListCall) + * [*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) @@ -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.3+20170501/google_cloudmonitoring2_beta2/CloudMonitoring)** +* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+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.3+20170501/google_cloudmonitoring2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+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. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudmonitoring2_beta2/2.0.3+20170501/google_cloudmonitoring2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20170501/google_cloudmonitoring2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.3+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.4+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.3+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.4+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.3+20170501/google_cloudmonitoring2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+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 33a1821174..8ff71bfe5a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudmonitoring2_beta2/src/client.rs b/gen/cloudmonitoring2_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudmonitoring2_beta2/src/client.rs +++ b/gen/cloudmonitoring2_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs b/gen/cloudmonitoring2_beta2/src/lib.rs index d3d3b5dfc0..753cc62f01 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.3+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/v2beta2/). diff --git a/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml index d08db7b8af..5e7babae49 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.3+20200405" +version = "2.0.4+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.3+20200405" +version = "2.0.4+20200405" diff --git a/gen/cloudprivatecatalog1_beta1-cli/README.md b/gen/cloudprivatecatalog1_beta1-cli/README.md index 1de8859e1b..bde3c90f86 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.3*. +This documentation was generated from the *Cloud Private Catalog* API at revision *20200405*. The CLI is at version *2.0.4*. ```bash cloudprivatecatalog1-beta1 [options] diff --git a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml index cc9712aae3..e35176307c 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.3+20200405 +site_name: Cloud Private Catalog v2.0.4+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 3df80bf87d..eb751607ad 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.3+20200405") + .version("2.0.4+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 efd208b1dd..4a9b177df0 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.3+20200405" +version = "2.0.4+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.3+20200405" +documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+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 a37387ad4c..608b123838 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.3+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog) ... * folders - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::FolderCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::FolderProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::FolderVersionSearchCall) + * [*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) * organizations - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationVersionSearchCall) + * [*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) * projects - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::ProjectCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::ProjectProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/api::ProjectVersionSearchCall) + * [*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) @@ -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.3+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog)** +* **[Hub](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+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.3+20200405/google_cloudprivatecatalog1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudprivatecatalog1_beta1/2.0.3+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.3+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.4+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.3+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.4+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.3+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+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 d71257116e..8f6ff90d09 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudprivatecatalog1_beta1/src/client.rs b/gen/cloudprivatecatalog1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudprivatecatalog1_beta1/src/client.rs +++ b/gen/cloudprivatecatalog1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudprivatecatalog1_beta1/src/lib.rs b/gen/cloudprivatecatalog1_beta1/src/lib.rs index b0b237ef06..3097706344 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.3+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Private Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml index 9ff16e2328..9c4363b4dc 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.3+20200405" +version = "2.0.4+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.3+20200405" +version = "2.0.4+20200405" diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/README.md b/gen/cloudprivatecatalogproducer1_beta1-cli/README.md index ef445828b7..60d3f77183 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.3*. +This documentation was generated from the *Cloud PrivateCatalog Producer* API at revision *20200405*. The CLI is at version *2.0.4*. ```bash cloudprivatecatalogproducer1-beta1 [options] diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml index b113e55596..9058d1ecce 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.3+20200405 +site_name: Cloud PrivateCatalog Producer v2.0.4+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 687b4c9949..5f1b257628 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.3+20200405") + .version("2.0.4+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 0e3ac6ba26..1fc2114cc4 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.3+20200405" +version = "2.0.4+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.3+20200405" +documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+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 5a23eeff75..9b815107d8 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.3+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer) ... * catalogs - * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationCreateCall), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationDeleteCall), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationGetCall), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationListCall), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogCreateCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetCall), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetIamPolicyCall), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogListCall), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogPatchCall), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCopyCall), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCreateCall), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductDeleteCall), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductGetCall), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductIconUploadCall), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductListCall), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductPatchCall), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionCreateCall), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionDeleteCall), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionGetCall), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionListCall), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionPatchCall), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogUndeleteCall) + * [*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) * operations - * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationListCall) + * [*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) @@ -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.3+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer)** +* **[Hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+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.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+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. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudprivatecatalogproducer1_beta1/2.0.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.3+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.4+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.3+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.4+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.3+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+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 41f93aee12..127e8b8af2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/client.rs b/gen/cloudprivatecatalogproducer1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/client.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs b/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs index 2d6748ffc3..b9e2e0de20 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.3+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud PrivateCatalog Producer* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). diff --git a/gen/cloudprofiler2-cli/Cargo.toml b/gen/cloudprofiler2-cli/Cargo.toml index b00040407e..af3b1c5e2d 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/cloudprofiler2-cli/README.md b/gen/cloudprofiler2-cli/README.md index 10bde4817f..11b4b65f93 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.3*. +This documentation was generated from the *Cloud Profiler* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash cloudprofiler2 [options] diff --git a/gen/cloudprofiler2-cli/mkdocs.yml b/gen/cloudprofiler2-cli/mkdocs.yml index 8960afb107..580dc63bba 100644 --- a/gen/cloudprofiler2-cli/mkdocs.yml +++ b/gen/cloudprofiler2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Profiler v2.0.3+20210326 +site_name: Cloud Profiler v2.0.4+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 394211af82..8fd9914acb 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.3+20210326") + .version("2.0.4+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 a63c3368a8..4ca90d43f7 100644 --- a/gen/cloudprofiler2/Cargo.toml +++ b/gen/cloudprofiler2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprofiler2" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-cloudprofiler2/2.0.4+20210326" license = "MIT" keywords = ["cloudprofiler", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudprofiler2/README.md b/gen/cloudprofiler2/README.md index dbae5de27b..79d0c77891 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.3+20210326*, where *20210326* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_cloudprofiler2/CloudProfiler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/CloudProfiler) ... * projects - * [*profiles create*](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/api::ProjectProfileCreateCall), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/api::ProjectProfileCreateOfflineCall) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/api::ProjectProfilePatchCall) + * [*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) @@ -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.3+20210326/google_cloudprofiler2/CloudProfiler)** +* **[Hub](https://docs.rs/google-cloudprofiler2/2.0.4+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.3+20210326/google_cloudprofiler2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/client::Part)** + * **[Parts](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudprofiler2/2.0.3+20210326/google_cloudprofiler2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprofiler2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_cloudprofiler2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprofiler2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprofiler2/2.0.3+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.4+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.3+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.4+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.3+20210326/google_cloudprofiler2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprofiler2/2.0.4+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 b18c5a787f..4f88a7457f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudprofiler2/src/client.rs b/gen/cloudprofiler2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudprofiler2/src/client.rs +++ b/gen/cloudprofiler2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudprofiler2/src/lib.rs b/gen/cloudprofiler2/src/lib.rs index 62e9466e7e..e5e8362fdd 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.3+20210326*, where *20210326* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Profiler* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/profiler/). diff --git a/gen/cloudresourcemanager1-cli/Cargo.toml b/gen/cloudresourcemanager1-cli/Cargo.toml index 8a36bd8396..aebb88369b 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.3+20210328" +version = "2.0.4+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.3+20210328" +version = "2.0.4+20210328" diff --git a/gen/cloudresourcemanager1-cli/README.md b/gen/cloudresourcemanager1-cli/README.md index cad3f65bf7..9aebc76a63 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.3*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. ```bash cloudresourcemanager1 [options] diff --git a/gen/cloudresourcemanager1-cli/mkdocs.yml b/gen/cloudresourcemanager1-cli/mkdocs.yml index b3d7d997cf..84489896d4 100644 --- a/gen/cloudresourcemanager1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.3+20210328 +site_name: Cloud Resource Manager v2.0.4+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 c68b64e3f6..1f8fed0c79 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.3+20210328") + .version("2.0.4+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 52d80f389c..6e74d3aab8 100644 --- a/gen/cloudresourcemanager1/Cargo.toml +++ b/gen/cloudresourcemanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1" -version = "2.0.3+20210328" +version = "2.0.4+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.3+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager1/README.md b/gen/cloudresourcemanager1/README.md index 1ad291fab9..df6d3e9303 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210328/google_cloudresourcemanager1/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/CloudResourceManager) ... * folders - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::FolderClearOrgPolicyCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::FolderGetEffectiveOrgPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::FolderGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::FolderListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::FolderListOrgPolicyCall) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::FolderSetOrgPolicyCall) -* [liens](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::Lien) - * [*create*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::LienListCall) -* [operations](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OperationGetCall) -* [organizations](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::Organization) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationClearOrgPolicyCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationGetCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationListOrgPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationSetOrgPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::OrganizationTestIamPermissionCall) -* [projects](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::Project) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectClearOrgPolicyCall), [*create*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectGetAncestryCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectGetOrgPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectListCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectListOrgPolicyCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectSetOrgPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/api::ProjectUpdateCall) + * [*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) @@ -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.3+20210328/google_cloudresourcemanager1/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1/2.0.4+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.3+20210328/google_cloudresourcemanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudresourcemanager1/2.0.3+20210328/google_cloudresourcemanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210328/google_cloudresourcemanager1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/2.0.3+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.4+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.3+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.4+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.3+20210328/google_cloudresourcemanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1/2.0.4+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 e19c407231..095ab7cc8d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudresourcemanager1/src/client.rs b/gen/cloudresourcemanager1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudresourcemanager1/src/client.rs +++ b/gen/cloudresourcemanager1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudresourcemanager1/src/lib.rs b/gen/cloudresourcemanager1/src/lib.rs index 3a0ca3a3d8..9bc0d1c55c 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Resource Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). diff --git a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml index a7ff1bb2c1..5342f12254 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.3+20210328" +version = "2.0.4+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.3+20210328" +version = "2.0.4+20210328" diff --git a/gen/cloudresourcemanager1_beta1-cli/README.md b/gen/cloudresourcemanager1_beta1-cli/README.md index 4efaa63055..e5189aa23f 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.3*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. ```bash cloudresourcemanager1-beta1 [options] diff --git a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml index 49ddb4438c..b215efe805 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.3+20210328 +site_name: Cloud Resource Manager v2.0.4+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 38eac30a0b..7855c1e26d 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.3+20210328") + .version("2.0.4+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 706f10022d..bff8cd52da 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.3+20210328" +version = "2.0.4+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.3+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+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 c73fc14ed8..68a371c67e 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager) ... -* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::Organization) - * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::OrganizationGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::OrganizationListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::OrganizationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::OrganizationTestIamPermissionCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::OrganizationUpdateCall) -* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::Project) - * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetAncestryCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/api::ProjectUpdateCall) +* [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) @@ -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.3+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+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.3+20210328/google_cloudresourcemanager1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+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. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudresourcemanager1_beta1/2.0.3+20210328/google_cloudresourcemanager1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210328/google_cloudresourcemanager1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210328/google_cloudresourcemanager1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+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 e4b4e20ccf..1363076b48 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudresourcemanager1_beta1/src/client.rs b/gen/cloudresourcemanager1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudresourcemanager1_beta1/src/client.rs +++ b/gen/cloudresourcemanager1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs b/gen/cloudresourcemanager1_beta1/src/lib.rs index cb28ace0a8..15dcc111e9 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). diff --git a/gen/cloudresourcemanager2-cli/Cargo.toml b/gen/cloudresourcemanager2-cli/Cargo.toml index be2ca840a3..248f1ddf3c 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.3+20210328" +version = "2.0.4+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.3+20210328" +version = "2.0.4+20210328" diff --git a/gen/cloudresourcemanager2-cli/README.md b/gen/cloudresourcemanager2-cli/README.md index e9bb867d31..0dbe53a557 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.3*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. ```bash cloudresourcemanager2 [options] diff --git a/gen/cloudresourcemanager2-cli/mkdocs.yml b/gen/cloudresourcemanager2-cli/mkdocs.yml index 3657ad2743..548d38b6f8 100644 --- a/gen/cloudresourcemanager2-cli/mkdocs.yml +++ b/gen/cloudresourcemanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.3+20210328 +site_name: Cloud Resource Manager v2.0.4+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 dcd45d1509..cf5435fada 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.3+20210328") + .version("2.0.4+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 88cb3f7af8..1b44c5c077 100644 --- a/gen/cloudresourcemanager2/Cargo.toml +++ b/gen/cloudresourcemanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager2" -version = "2.0.3+20210328" +version = "2.0.4+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.3+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager2/README.md b/gen/cloudresourcemanager2/README.md index 11a40455db..0d456d60e6 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210328/google_cloudresourcemanager2/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/CloudResourceManager) ... -* [folders](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::Folder) - * [*create*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::FolderUndeleteCall) -* [operations](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/api::OperationGetCall) +* [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) @@ -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.3+20210328/google_cloudresourcemanager2/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager2/2.0.4+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.3+20210328/google_cloudresourcemanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudresourcemanager2/2.0.3+20210328/google_cloudresourcemanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210328/google_cloudresourcemanager2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager2/2.0.3+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.4+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.3+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.4+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.3+20210328/google_cloudresourcemanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager2/2.0.4+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 2790012f5e..05ab57afd2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudresourcemanager2/src/client.rs b/gen/cloudresourcemanager2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudresourcemanager2/src/client.rs +++ b/gen/cloudresourcemanager2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudresourcemanager2/src/lib.rs b/gen/cloudresourcemanager2/src/lib.rs index b852aaca01..46b1f973fc 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Resource Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). diff --git a/gen/cloudresourcemanager3-cli/Cargo.toml b/gen/cloudresourcemanager3-cli/Cargo.toml index 872b8b2f6b..39809172e6 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.3+20210328" +version = "2.0.4+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.3+20210328" +version = "2.0.4+20210328" diff --git a/gen/cloudresourcemanager3-cli/README.md b/gen/cloudresourcemanager3-cli/README.md index 62915ae473..e56e8d6219 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.3*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. ```bash cloudresourcemanager3 [options] diff --git a/gen/cloudresourcemanager3-cli/mkdocs.yml b/gen/cloudresourcemanager3-cli/mkdocs.yml index 008ad80189..e8714da618 100644 --- a/gen/cloudresourcemanager3-cli/mkdocs.yml +++ b/gen/cloudresourcemanager3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.3+20210328 +site_name: Cloud Resource Manager v2.0.4+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 1f23dc255c..3802ec243f 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.3+20210328") + .version("2.0.4+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 8ef928c7ed..42e7221770 100644 --- a/gen/cloudresourcemanager3/Cargo.toml +++ b/gen/cloudresourcemanager3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager3" -version = "2.0.3+20210328" +version = "2.0.4+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.3+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager3/README.md b/gen/cloudresourcemanager3/README.md index e1e8c3cb03..a1a056174a 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210328/google_cloudresourcemanager3/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/CloudResourceManager) ... -* [folders](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::Folder) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::FolderUndeleteCall) -* [liens](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::Lien) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::LienListCall) -* [operations](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::OperationGetCall) -* [organizations](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::Organization) - * [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::OrganizationGetIamPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::OrganizationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::OrganizationTestIamPermissionCall) -* [projects](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::Project) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::ProjectUndeleteCall) -* [tag bindings](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagBinding) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagBindingCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagBindingDeleteCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagBindingListCall) -* [tag keys](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKey) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyPatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagKeyTestIamPermissionCall) -* [tag values](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValue) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValuePatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/api::TagValueTestIamPermissionCall) +* [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) @@ -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.3+20210328/google_cloudresourcemanager3/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager3/2.0.4+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.3+20210328/google_cloudresourcemanager3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager3/2.0.3+20210328/google_cloudresourcemanager3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -166,17 +166,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +186,29 @@ Methods supporting uploads can do so using up to 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.3+20210328/google_cloudresourcemanager3/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210328/google_cloudresourcemanager3/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager3/2.0.3+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.4+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.3+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.4+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.3+20210328/google_cloudresourcemanager3/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager3/2.0.4+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 d5d4182359..f96c2d7efb 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudresourcemanager3/src/client.rs b/gen/cloudresourcemanager3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudresourcemanager3/src/client.rs +++ b/gen/cloudresourcemanager3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudresourcemanager3/src/lib.rs b/gen/cloudresourcemanager3/src/lib.rs index e5943c48cc..6d2ac68a9b 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.3+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Resource Manager* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). diff --git a/gen/cloudscheduler1-cli/Cargo.toml b/gen/cloudscheduler1-cli/Cargo.toml index 5d9f860a1f..118603ba6b 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/cloudscheduler1-cli/README.md b/gen/cloudscheduler1-cli/README.md index 0a2acd5f9c..77df684abe 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.3*. +This documentation was generated from the *Cloud Scheduler* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash cloudscheduler1 [options] diff --git a/gen/cloudscheduler1-cli/mkdocs.yml b/gen/cloudscheduler1-cli/mkdocs.yml index ff439779bc..f191a377cc 100644 --- a/gen/cloudscheduler1-cli/mkdocs.yml +++ b/gen/cloudscheduler1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v2.0.3+20210315 +site_name: Cloud Scheduler v2.0.4+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 63fdb30833..c5cc4daf32 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.3+20210315") + .version("2.0.4+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 7d58f532e9..eb413da73d 100644 --- a/gen/cloudscheduler1/Cargo.toml +++ b/gen/cloudscheduler1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1" -version = "2.0.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-cloudscheduler1/2.0.4+20210315" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudscheduler1/README.md b/gen/cloudscheduler1/README.md index 79e0c0a71b..fc29d0dc7b 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.3+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_cloudscheduler1/CloudScheduler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/CloudScheduler) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210315/google_cloudscheduler1/CloudScheduler)** +* **[Hub](https://docs.rs/google-cloudscheduler1/2.0.4+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.3+20210315/google_cloudscheduler1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/client::Part)** + * **[Parts](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudscheduler1/2.0.3+20210315/google_cloudscheduler1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudscheduler1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_cloudscheduler1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudscheduler1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1/2.0.3+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.4+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.3+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.4+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.3+20210315/google_cloudscheduler1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudscheduler1/2.0.4+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 775a961719..e2117d5a3c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudscheduler1/src/client.rs b/gen/cloudscheduler1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudscheduler1/src/client.rs +++ b/gen/cloudscheduler1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudscheduler1/src/lib.rs b/gen/cloudscheduler1/src/lib.rs index ff09b7afea..3619619d23 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.3+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Scheduler* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). diff --git a/gen/cloudscheduler1_beta1-cli/Cargo.toml b/gen/cloudscheduler1_beta1-cli/Cargo.toml index eac30b0fa9..f6d4127c8f 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/cloudscheduler1_beta1-cli/README.md b/gen/cloudscheduler1_beta1-cli/README.md index 5e6f4270bd..ec6785196b 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.3*. +This documentation was generated from the *Cloud Scheduler* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash cloudscheduler1-beta1 [options] diff --git a/gen/cloudscheduler1_beta1-cli/mkdocs.yml b/gen/cloudscheduler1_beta1-cli/mkdocs.yml index 95bfdf15d5..9a8e0cb3b1 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.3+20210315 +site_name: Cloud Scheduler v2.0.4+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 79b370686e..037bee27aa 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.3+20210315") + .version("2.0.4+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 87f9304e9c..e7f2b94e94 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.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-cloudscheduler1_beta1/2.0.4+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 e8140e9eb6..6213015839 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.3+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_cloudscheduler1_beta1/CloudScheduler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/CloudScheduler) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210315/google_cloudscheduler1_beta1/CloudScheduler)** +* **[Hub](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+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.3+20210315/google_cloudscheduler1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudscheduler1_beta1/2.0.3+20210315/google_cloudscheduler1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_cloudscheduler1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210315/google_cloudscheduler1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+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 9af2cacebe..4eb4e8bbd7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudscheduler1_beta1/src/client.rs b/gen/cloudscheduler1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudscheduler1_beta1/src/client.rs +++ b/gen/cloudscheduler1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudscheduler1_beta1/src/lib.rs b/gen/cloudscheduler1_beta1/src/lib.rs index 7c450b79c9..5c14b7227d 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.3+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Scheduler* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). diff --git a/gen/cloudshell1-cli/Cargo.toml b/gen/cloudshell1-cli/Cargo.toml index df928e20d3..5afca9d53c 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/cloudshell1-cli/README.md b/gen/cloudshell1-cli/README.md index 77d7208e04..8fbe4616ec 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.3*. +This documentation was generated from the *Cloud Shell* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash cloudshell1 [options] diff --git a/gen/cloudshell1-cli/mkdocs.yml b/gen/cloudshell1-cli/mkdocs.yml index 052b3fca0f..24df12d06d 100644 --- a/gen/cloudshell1-cli/mkdocs.yml +++ b/gen/cloudshell1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Shell v2.0.3+20210326 +site_name: Cloud Shell v2.0.4+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 b08f85384d..4a464cc670 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.3+20210326") + .version("2.0.4+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 b953b72643..0949bd1b0c 100644 --- a/gen/cloudshell1/Cargo.toml +++ b/gen/cloudshell1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudshell1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-cloudshell1/2.0.4+20210326" license = "MIT" keywords = ["cloudshell", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudshell1/README.md b/gen/cloudshell1/README.md index e0b76d3b88..ecfe5487ef 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.3+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_cloudshell1/CloudShell) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/CloudShell) ... -* [operations](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::Operation) - * [*cancel*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::OperationListCall) +* [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) * users - * [*environments add public key*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::UserEnvironmentAddPublicKeyCall), [*environments authorize*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::UserEnvironmentAuthorizeCall), [*environments get*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::UserEnvironmentGetCall), [*environments remove public key*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::UserEnvironmentRemovePublicKeyCall) and [*environments start*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/api::UserEnvironmentStartCall) + * [*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) @@ -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.3+20210326/google_cloudshell1/CloudShell)** +* **[Hub](https://docs.rs/google-cloudshell1/2.0.4+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.3+20210326/google_cloudshell1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/client::Part)** + * **[Parts](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudshell1/2.0.3+20210326/google_cloudshell1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudshell1/2.0.3+20210326/google_cloudshell1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudshell1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_cloudshell1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudshell1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudshell1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_cloudshell1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudshell1/2.0.4+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 41e2c9587d..c4df81fa35 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudshell1/src/client.rs b/gen/cloudshell1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudshell1/src/client.rs +++ b/gen/cloudshell1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudshell1/src/lib.rs b/gen/cloudshell1/src/lib.rs index f975a6ed08..c5a79044c0 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.3+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Shell* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/shell/docs/). diff --git a/gen/cloudtasks2-cli/Cargo.toml b/gen/cloudtasks2-cli/Cargo.toml index 63ef1b8b7a..230f20b073 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/cloudtasks2-cli/README.md b/gen/cloudtasks2-cli/README.md index 4cba560840..579aa180fd 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.3*. +This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash cloudtasks2 [options] diff --git a/gen/cloudtasks2-cli/mkdocs.yml b/gen/cloudtasks2-cli/mkdocs.yml index 18d9f6e42c..d7d8703b34 100644 --- a/gen/cloudtasks2-cli/mkdocs.yml +++ b/gen/cloudtasks2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v2.0.3+20210315 +site_name: Cloud Tasks v2.0.4+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 a44ce4af99..2ccc6e5b20 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.3+20210315") + .version("2.0.4+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 c371f99fa3..244d1c4503 100644 --- a/gen/cloudtasks2/Cargo.toml +++ b/gen/cloudtasks2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2" -version = "2.0.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-cloudtasks2/2.0.4+20210315" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtasks2/README.md b/gen/cloudtasks2/README.md index 34a58ef5c1..84cb4763c3 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.3+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_cloudtasks2/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/api::ProjectLocationQueueTestIamPermissionCall) + * [*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) @@ -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.3+20210315/google_cloudtasks2/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2/2.0.4+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.3+20210315/google_cloudtasks2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2/2.0.3+20210315/google_cloudtasks2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudtasks2/2.0.3+20210315/google_cloudtasks2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_cloudtasks2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2/2.0.3+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.4+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.3+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.4+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.3+20210315/google_cloudtasks2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2/2.0.4+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 510f3bb074..79050c7649 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudtasks2/src/client.rs b/gen/cloudtasks2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudtasks2/src/client.rs +++ b/gen/cloudtasks2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudtasks2/src/lib.rs b/gen/cloudtasks2/src/lib.rs index 71245fcefa..098f62d1a8 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.3+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Tasks* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). diff --git a/gen/cloudtasks2_beta2-cli/Cargo.toml b/gen/cloudtasks2_beta2-cli/Cargo.toml index 061aa21462..ccfbd7738e 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/cloudtasks2_beta2-cli/README.md b/gen/cloudtasks2_beta2-cli/README.md index 2d2740daf8..94a1f09d64 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.3*. +This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash cloudtasks2-beta2 [options] diff --git a/gen/cloudtasks2_beta2-cli/mkdocs.yml b/gen/cloudtasks2_beta2-cli/mkdocs.yml index d4b2eb77dc..08ec3209c9 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.3+20210315 +site_name: Cloud Tasks v2.0.4+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 e76bbba6f9..bae760bc6b 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.3+20210315") + .version("2.0.4+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 81efe86313..f6baf3abbe 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.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-cloudtasks2_beta2/2.0.4+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 a8cb756886..e9f7e86f26 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.3+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_cloudtasks2_beta2/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskAcknowledgeCall), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCancelLeaseCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskLeaseCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRenewLeaseCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTestIamPermissionCall) + * [*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) @@ -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.3+20210315/google_cloudtasks2_beta2/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta2/2.0.4+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.3+20210315/google_cloudtasks2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta2/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudtasks2_beta2/2.0.3+20210315/google_cloudtasks2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_cloudtasks2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.3+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.4+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.3+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.4+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.3+20210315/google_cloudtasks2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta2/2.0.4+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 577c78bfe7..bb83bb8074 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudtasks2_beta2/src/client.rs b/gen/cloudtasks2_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudtasks2_beta2/src/client.rs +++ b/gen/cloudtasks2_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudtasks2_beta2/src/lib.rs b/gen/cloudtasks2_beta2/src/lib.rs index 1ecbb9dc38..30db97c5e5 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.3+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Tasks* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). diff --git a/gen/cloudtasks2_beta3-cli/Cargo.toml b/gen/cloudtasks2_beta3-cli/Cargo.toml index fc4f5abe10..9e30ac27e5 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/cloudtasks2_beta3-cli/README.md b/gen/cloudtasks2_beta3-cli/README.md index d531f6e028..8a5b8e926c 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.3*. +This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash cloudtasks2-beta3 [options] diff --git a/gen/cloudtasks2_beta3-cli/mkdocs.yml b/gen/cloudtasks2_beta3-cli/mkdocs.yml index 38b3c6f9cb..d3f3d15f20 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.3+20210315 +site_name: Cloud Tasks v2.0.4+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 74dc170dee..68df61fbdf 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.3+20210315") + .version("2.0.4+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 9c28c1ccae..ee376e1fd2 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.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-cloudtasks2_beta3/2.0.4+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 50958f1b9c..535ce4e0b5 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.3+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_cloudtasks2_beta3/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTestIamPermissionCall) + * [*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) @@ -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.3+20210315/google_cloudtasks2_beta3/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta3/2.0.4+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.3+20210315/google_cloudtasks2_beta3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta3/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudtasks2_beta3/2.0.3+20210315/google_cloudtasks2_beta3/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_cloudtasks2_beta3/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2_beta3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.3+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.4+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.3+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.4+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.3+20210315/google_cloudtasks2_beta3/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta3/2.0.4+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 4a53fb85d5..e79c26fcd5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudtasks2_beta3/src/client.rs b/gen/cloudtasks2_beta3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudtasks2_beta3/src/client.rs +++ b/gen/cloudtasks2_beta3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudtasks2_beta3/src/lib.rs b/gen/cloudtasks2_beta3/src/lib.rs index 687344780a..21bbff08bf 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.3+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Tasks* *v2_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). diff --git a/gen/cloudtrace1-cli/Cargo.toml b/gen/cloudtrace1-cli/Cargo.toml index ad6cae7496..ba46a97a57 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/cloudtrace1-cli/README.md b/gen/cloudtrace1-cli/README.md index c946abcd9b..9288838633 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.3*. +This documentation was generated from the *Cloud Trace* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash cloudtrace1 [options] diff --git a/gen/cloudtrace1-cli/mkdocs.yml b/gen/cloudtrace1-cli/mkdocs.yml index 8c4ed503b3..44da234051 100644 --- a/gen/cloudtrace1-cli/mkdocs.yml +++ b/gen/cloudtrace1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v2.0.3+20210319 +site_name: Cloud Trace v2.0.4+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 a6db3c5fbb..cf7f565065 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.3+20210319") + .version("2.0.4+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 d9c7c9c2dd..988cadce14 100644 --- a/gen/cloudtrace1/Cargo.toml +++ b/gen/cloudtrace1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-cloudtrace1/2.0.4+20210319" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtrace1/README.md b/gen/cloudtrace1/README.md index a1fc49a2bf..f965f5cc65 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.3+20210319*, where *20210319* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_cloudtrace1/CloudTrace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/CloudTrace) ... * projects - * [*patch traces*](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/api::ProjectPatchTraceCall), [*traces get*](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/api::ProjectTraceGetCall) and [*traces list*](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/api::ProjectTraceListCall) + * [*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) @@ -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.3+20210319/google_cloudtrace1/CloudTrace)** +* **[Hub](https://docs.rs/google-cloudtrace1/2.0.4+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.3+20210319/google_cloudtrace1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/client::Part)** + * **[Parts](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace1/2.0.3+20210319/google_cloudtrace1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudtrace1/2.0.3+20210319/google_cloudtrace1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtrace1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_cloudtrace1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtrace1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_cloudtrace1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtrace1/2.0.4+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 e2b4517fc2..c660eb4f10 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudtrace1/src/client.rs b/gen/cloudtrace1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudtrace1/src/client.rs +++ b/gen/cloudtrace1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudtrace1/src/lib.rs b/gen/cloudtrace1/src/lib.rs index bcb5ad7011..a58a8b5814 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.3+20210319*, where *20210319* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Trace* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/trace). diff --git a/gen/cloudtrace2-cli/Cargo.toml b/gen/cloudtrace2-cli/Cargo.toml index 1e98e1c68b..dc5d9b2074 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/cloudtrace2-cli/README.md b/gen/cloudtrace2-cli/README.md index 54353f9102..f162f013aa 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.3*. +This documentation was generated from the *Cloud Trace* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash cloudtrace2 [options] diff --git a/gen/cloudtrace2-cli/mkdocs.yml b/gen/cloudtrace2-cli/mkdocs.yml index 5c89eedded..34c01d11a0 100644 --- a/gen/cloudtrace2-cli/mkdocs.yml +++ b/gen/cloudtrace2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v2.0.3+20210319 +site_name: Cloud Trace v2.0.4+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 44e5d42989..d7100b7ea6 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.3+20210319") + .version("2.0.4+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 fed9a7eb71..43ba428641 100644 --- a/gen/cloudtrace2/Cargo.toml +++ b/gen/cloudtrace2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace2" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-cloudtrace2/2.0.4+20210319" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtrace2/README.md b/gen/cloudtrace2/README.md index d34b883ef2..75880eda8a 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.3+20210319*, where *20210319* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_cloudtrace2/CloudTrace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/CloudTrace) ... * projects - * [*traces batch write*](https://docs.rs/google-cloudtrace2/2.0.3+20210319/google_cloudtrace2/api::ProjectTraceBatchWriteCall) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/2.0.3+20210319/google_cloudtrace2/api::ProjectTraceSpanCreateSpanCall) + * [*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) @@ -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.3+20210319/google_cloudtrace2/CloudTrace)** +* **[Hub](https://docs.rs/google-cloudtrace2/2.0.4+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.3+20210319/google_cloudtrace2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/2.0.3+20210319/google_cloudtrace2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtrace2/2.0.3+20210319/google_cloudtrace2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace2/2.0.3+20210319/google_cloudtrace2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace2/2.0.3+20210319/google_cloudtrace2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-cloudtrace2/2.0.3+20210319/google_cloudtrace2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtrace2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_cloudtrace2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtrace2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace2/2.0.3+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.4+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.3+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.4+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.3+20210319/google_cloudtrace2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtrace2/2.0.4+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 2818eaedc5..ca69a00be6 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/cloudtrace2/src/client.rs b/gen/cloudtrace2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/cloudtrace2/src/client.rs +++ b/gen/cloudtrace2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/cloudtrace2/src/lib.rs b/gen/cloudtrace2/src/lib.rs index 269c67678c..74a3d8e07c 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.3+20210319*, where *20210319* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Trace* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/trace). diff --git a/gen/clouduseraccountsvm_beta-cli/Cargo.toml b/gen/clouduseraccountsvm_beta-cli/Cargo.toml index 4402973205..5117af50f9 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.3+20160316" +version = "2.0.4+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.3+20160316" +version = "2.0.4+20160316" diff --git a/gen/clouduseraccountsvm_beta-cli/README.md b/gen/clouduseraccountsvm_beta-cli/README.md index a1bd395e47..5ef35e3815 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.3*. +This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *2.0.4*. ```bash clouduseraccountsvm-beta [options] diff --git a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml index 125295e16c..efa9984766 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.3+20160316 +site_name: Cloud User Accounts v2.0.4+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 87422370fb..788cd4a590 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.3+20160316") + .version("2.0.4+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 c7d1c1dc9d..2b03c034cf 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.3+20160316" +version = "2.0.4+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.3+20160316" +documentation = "https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+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 929e7868f2..ae34b5bc5e 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.3+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.3*. +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*. 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.3+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts) ... * global accounts operations - * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationGetCall) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationListCall) -* [groups](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::Group) - * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GroupAddMemberCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GroupDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GroupGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GroupInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GroupListCall) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::GroupRemoveMemberCall) + * [*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) * linux - * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::LinuxGetAuthorizedKeysViewCall) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::LinuxGetLinuxAccountViewCall) -* [users](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::User) - * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::UserAddPublicKeyCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::UserDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::UserGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::UserInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::UserListCall) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/api::UserRemovePublicKeyCall) + * [*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) @@ -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.3+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts)** +* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+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.3+20160316/google_clouduseraccountsvm_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/client::Part)** + * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+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. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-clouduseraccountsvm_beta/2.0.3+20160316/google_clouduseraccountsvm_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160316/google_clouduseraccountsvm_beta/client::RequestValue) and -[decodable](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.3+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.4+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.3+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.4+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.3+20160316/google_clouduseraccountsvm_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+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 7c85a9a888..8e114b733b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/clouduseraccountsvm_beta/src/client.rs b/gen/clouduseraccountsvm_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/clouduseraccountsvm_beta/src/client.rs +++ b/gen/clouduseraccountsvm_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs b/gen/clouduseraccountsvm_beta/src/lib.rs index b77a7a73eb..83cb378c65 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.3+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.3*. +//! 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*. //! //! Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). diff --git a/gen/commentanalyzer1_alpha1-cli/Cargo.toml b/gen/commentanalyzer1_alpha1-cli/Cargo.toml index b5117b5560..fe212ce7e8 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.3+20200405" +version = "2.0.4+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.3+20200405" +version = "2.0.4+20200405" diff --git a/gen/commentanalyzer1_alpha1-cli/README.md b/gen/commentanalyzer1_alpha1-cli/README.md index b896ad1c5e..41914afda5 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.3*. +This documentation was generated from the *Comment Analyzer* API at revision *20200405*. The CLI is at version *2.0.4*. ```bash commentanalyzer1-alpha1 [options] diff --git a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml index 3e1b946cd6..652feb70f7 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.3+20200405 +site_name: Comment Analyzer v2.0.4+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 8ec093c177..fe6e97f084 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.3+20200405") + .version("2.0.4+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 411ca118ca..4a0408a015 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.3+20200405" +version = "2.0.4+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.3+20200405" +documentation = "https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+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 b49ce3685e..63d3fc7320 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.3+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer) ... * comments - * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/api::CommentAnalyzeCall) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/api::CommentSuggestscoreCall) + * [*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) @@ -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.3+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer)** +* **[Hub](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+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.3+20200405/google_commentanalyzer1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+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. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-commentanalyzer1_alpha1/2.0.3+20200405/google_commentanalyzer1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200405/google_commentanalyzer1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20200405/google_commentanalyzer1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+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 3aa58fc979..3724c4a8c4 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/commentanalyzer1_alpha1/src/client.rs b/gen/commentanalyzer1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/commentanalyzer1_alpha1/src/client.rs +++ b/gen/commentanalyzer1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/commentanalyzer1_alpha1/src/lib.rs b/gen/commentanalyzer1_alpha1/src/lib.rs index c2c6b34b76..331862d905 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.3+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/composer1-cli/Cargo.toml b/gen/composer1-cli/Cargo.toml index 451e799264..6d3a27c08a 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/composer1-cli/README.md b/gen/composer1-cli/README.md index 09c86488a2..46042396df 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.3*. +This documentation was generated from the *Cloud Composer* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash composer1 [options] diff --git a/gen/composer1-cli/mkdocs.yml b/gen/composer1-cli/mkdocs.yml index 67603fb8e6..91905afe5c 100644 --- a/gen/composer1-cli/mkdocs.yml +++ b/gen/composer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Composer v2.0.3+20210319 +site_name: Cloud Composer v2.0.4+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 aef2eb5461..45c4a1d64b 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.3+20210319") + .version("2.0.4+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 45ca116738..1d2144407b 100644 --- a/gen/composer1/Cargo.toml +++ b/gen/composer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-composer1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-composer1/2.0.4+20210319" license = "MIT" keywords = ["composer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/composer1/README.md b/gen/composer1/README.md index 00aca66d21..d8a9e2edf1 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.3+20210319*, where *20210319* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_composer1/CloudComposer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/CloudComposer) ... * projects - * [*locations environments create*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationEnvironmentListCall), [*locations environments patch*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationEnvironmentPatchCall), [*locations image versions list*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationImageVersionListCall), [*locations operations delete*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210319/google_composer1/CloudComposer)** +* **[Hub](https://docs.rs/google-composer1/2.0.4+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.3+20210319/google_composer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/client::Part)** + * **[Parts](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-composer1/2.0.3+20210319/google_composer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-composer1/2.0.3+20210319/google_composer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-composer1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_composer1/client::RequestValue) and -[decodable](https://docs.rs/google-composer1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-composer1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_composer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-composer1/2.0.4+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 2ea6c1af3f..fe777130a9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/composer1/src/client.rs b/gen/composer1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/composer1/src/client.rs +++ b/gen/composer1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/composer1/src/lib.rs b/gen/composer1/src/lib.rs index 404eebfa2a..feb6b86a07 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.3+20210319*, where *20210319* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Composer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/composer/). diff --git a/gen/compute1-cli/Cargo.toml b/gen/compute1-cli/Cargo.toml index 117c725629..c15c6d021a 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/compute1-cli/README.md b/gen/compute1-cli/README.md index cc69f9e367..387e269548 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.3*. +This documentation was generated from the *compute* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash compute1 [options] diff --git a/gen/compute1-cli/mkdocs.yml b/gen/compute1-cli/mkdocs.yml index fc0ddcafaf..80362c6bc7 100644 --- a/gen/compute1-cli/mkdocs.yml +++ b/gen/compute1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: compute v2.0.3+20210316 +site_name: compute v2.0.4+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 bdfb1964bc..02603ea456 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.3+20210316") + .version("2.0.4+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 392e9f0fc2..91599ceee1 100644 --- a/gen/compute1/Cargo.toml +++ b/gen/compute1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-compute1" -version = "2.0.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-compute1/2.0.4+20210316" license = "MIT" keywords = ["compute", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/compute1/README.md b/gen/compute1/README.md index c4d68f2f36..2cfbeb2ebf 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.3+20210316*, where *20210316* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_compute1/Compute) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/Compute) ... -* [accelerator types](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AcceleratorType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AcceleratorTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AcceleratorTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AcceleratorTypeListCall) +* [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) * addresses - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AddresseAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AddresseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AddresseGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AddresseInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AddresseListCall) -* [autoscalers](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Autoscaler) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::AutoscalerUpdateCall) -* [backend buckets](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucket) - * [*add signed url key*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketAddSignedUrlKeyCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendBucketUpdateCall) -* [backend services](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendService) - * [*add signed url key*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceAddSignedUrlKeyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServicePatchCall), [*set security policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceSetSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::BackendServiceUpdateCall) -* [disk types](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskTypeListCall) -* [disks](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Disk) - * [*add resource policies*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskAggregatedListCall), [*create snapshot*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::DiskTestIamPermissionCall) -* [external vpn gateways](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGateway) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ExternalVpnGatewayTestIamPermissionCall) -* [firewall policies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicy) - * [*add association*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyListCall), [*list associations*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyListAssociationCall), [*move*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyMoveCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPolicyTestIamPermissionCall) -* [firewalls](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Firewall) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::FirewallUpdateCall) -* [forwarding rules](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRule) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ForwardingRuleSetTargetCall) + * [*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) * global addresses - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalAddresseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalAddresseGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalAddresseInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalAddresseListCall) + * [*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) * global forwarding rules - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalForwardingRuleSetTargetCall) + * [*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) * global network endpoint groups - * [*attach network endpoints*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupListCall) and [*list network endpoints*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalNetworkEndpointGroupListNetworkEndpointCall) + * [*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) * global operations - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOperationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOperationWaitCall) + * [*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) * global organization operations - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOrganizationOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOrganizationOperationGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalOrganizationOperationListCall) + * [*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) * global public delegated prefixes - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::GlobalPublicDelegatedPrefixePatchCall) -* [health checks](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheck) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HealthCheckUpdateCall) -* [http health checks](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheck) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpHealthCheckUpdateCall) -* [https health checks](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheck) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::HttpsHealthCheckUpdateCall) -* [images](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Image) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageDeleteCall), [*deprecate*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageDeprecateCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageGetCall), [*get from family*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageGetFromFamilyCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImagePatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ImageTestIamPermissionCall) -* [instance group managers](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManager) - * [*abandon instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerAbandonInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerAggregatedListCall), [*apply updates to instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupManagerUpdatePerInstanceConfigCall) -* [instance groups](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroup) - * [*add instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupListInstanceCall), [*remove instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupRemoveInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGroupSetNamedPortCall) -* [instance templates](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplate) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTemplateTestIamPermissionCall) -* [instances](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Instance) - * [*add access config*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceAddAccessConfigCall), [*add resource policies*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceAggregatedListCall), [*attach disk*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceAttachDiskCall), [*bulk insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceBulkInsertCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceDeleteCall), [*delete access config*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceDeleteAccessConfigCall), [*detach disk*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceDetachDiskCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetEffectiveFirewallCall), [*get guest attributes*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetGuestAttributeCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetIamPolicyCall), [*get screenshot*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetScreenshotCall), [*get serial port output*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetSerialPortOutputCall), [*get shielded instance identity*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceGetShieldedInstanceIdentityCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceListCall), [*list referrers*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceListReferrerCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceRemoveResourcePolicyCall), [*reset*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceResetCall), [*set deletion protection*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetDeletionProtectionCall), [*set disk auto delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetDiskAutoDeleteCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetLabelCall), [*set machine resources*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetMachineResourceCall), [*set machine type*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetMachineTypeCall), [*set metadata*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetMetadataCall), [*set min cpu platform*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetMinCpuPlatformCall), [*set scheduling*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetSchedulingCall), [*set service account*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetServiceAccountCall), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetShieldedInstanceIntegrityPolicyCall), [*set tags*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSetTagCall), [*simulate maintenance event*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceSimulateMaintenanceEventCall), [*start*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceStartCall), [*start with encryption key*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceStartWithEncryptionKeyCall), [*stop*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceStopCall), [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceTestIamPermissionCall), [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceUpdateCall), [*update access config*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceUpdateAccessConfigCall), [*update display device*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceUpdateDisplayDeviceCall), [*update network interface*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceUpdateNetworkInterfaceCall) and [*update shielded instance config*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InstanceUpdateShieldedInstanceConfigCall) -* [interconnect attachments](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachment) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachmentGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachmentListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectAttachmentPatchCall) -* [interconnect locations](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectLocation) - * [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectLocationGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectLocationListCall) -* [interconnects](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Interconnect) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectGetCall), [*get diagnostics*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectGetDiagnosticCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::InterconnectPatchCall) -* [license codes](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseCode) - * [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseCodeGetCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseCodeTestIamPermissionCall) -* [licenses](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::License) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::LicenseTestIamPermissionCall) -* [machine types](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::MachineType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::MachineTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::MachineTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::MachineTypeListCall) -* [network endpoint groups](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroup) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupAggregatedListCall), [*attach network endpoints*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupListCall), [*list network endpoints*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupListNetworkEndpointCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkEndpointGroupTestIamPermissionCall) -* [networks](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Network) - * [*add peering*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkAddPeeringCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkGetEffectiveFirewallCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkListCall), [*list peering routes*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkListPeeringRouteCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkPatchCall), [*remove peering*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkRemovePeeringCall), [*switch to custom mode*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkSwitchToCustomModeCall) and [*update peering*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NetworkUpdatePeeringCall) -* [node groups](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroup) - * [*add nodes*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupAddNodeCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupDeleteCall), [*delete nodes*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupDeleteNodeCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupListCall), [*list nodes*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupListNodeCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupPatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupSetIamPolicyCall), [*set node template*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupSetNodeTemplateCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeGroupTestIamPermissionCall) -* [node templates](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplate) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTemplateTestIamPermissionCall) -* [node types](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::NodeTypeListCall) -* [packet mirrorings](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroring) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringPatchCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PacketMirroringTestIamPermissionCall) -* [projects](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Project) - * [*disable xpn host*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectDisableXpnHostCall), [*disable xpn resource*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectDisableXpnResourceCall), [*enable xpn host*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectEnableXpnHostCall), [*enable xpn resource*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectEnableXpnResourceCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectGetCall), [*get xpn host*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectGetXpnHostCall), [*get xpn resources*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectGetXpnResourceCall), [*list xpn hosts*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectListXpnHostCall), [*move disk*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectMoveDiskCall), [*move instance*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectMoveInstanceCall), [*set common instance metadata*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectSetCommonInstanceMetadataCall), [*set default network tier*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectSetDefaultNetworkTierCall) and [*set usage export bucket*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ProjectSetUsageExportBucketCall) + * [*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) * public advertised prefixes - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicAdvertisedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicAdvertisedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicAdvertisedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicAdvertisedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicAdvertisedPrefixePatchCall) + * [*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) * public delegated prefixes - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicDelegatedPrefixeAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::PublicDelegatedPrefixePatchCall) + * [*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) * region autoscalers - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionAutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionAutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionAutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionAutoscalerListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionAutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionAutoscalerUpdateCall) + * [*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) * region backend services - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServiceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServiceListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServicePatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionBackendServiceUpdateCall) + * [*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) * region commitments - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionCommitmentAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionCommitmentGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionCommitmentInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionCommitmentListCall) + * [*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) * region disk types - * [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskTypeListCall) + * [*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) * region disks - * [*add resource policies*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskAddResourcePolicyCall), [*create snapshot*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionDiskTestIamPermissionCall) + * [*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) * region health check services - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckServiceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckServiceGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckServiceListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckServicePatchCall) + * [*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) * region health checks - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionHealthCheckUpdateCall) + * [*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) * region instance group managers - * [*abandon instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerAbandonInstanceCall), [*apply updates to instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupManagerUpdatePerInstanceConfigCall) + * [*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) * region instance groups - * [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupGetCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupListInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceGroupSetNamedPortCall) + * [*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) * region instances - * [*bulk insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionInstanceBulkInsertCall) + * [*bulk insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceBulkInsertCall) * region network endpoint groups - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNetworkEndpointGroupDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNetworkEndpointGroupInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNetworkEndpointGroupListCall) + * [*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) * region notification endpoints - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNotificationEndpointDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNotificationEndpointGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNotificationEndpointInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionNotificationEndpointListCall) + * [*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) * region operations - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionOperationWaitCall) + * [*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) * region ssl certificates - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionSslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionSslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionSslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionSslCertificateListCall) + * [*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) * region target http proxies - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpProxyListCall) and [*set url map*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpProxySetUrlMapCall) + * [*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) * region target https proxies - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpsProxyListCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpsProxySetSslCertificateCall) and [*set url map*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionTargetHttpsProxySetUrlMapCall) + * [*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) * region url maps - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapPatchCall), [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionUrlMapValidateCall) -* [regions](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Region) - * [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RegionListCall) -* [reservations](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Reservation) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationListCall), [*resize*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ReservationTestIamPermissionCall) -* [resource policies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicy) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ResourcePolicyTestIamPermissionCall) -* [routers](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Router) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterGetCall), [*get nat mapping info*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterGetNatMappingInfoCall), [*get router status*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterGetRouterStatuCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterPatchCall), [*preview*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterPreviewCall) and [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouterUpdateCall) -* [routes](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Route) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouteDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouteGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouteInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::RouteListCall) -* [security policies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicy) - * [*add rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyAddRuleCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyGetCall), [*get rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyListCall), [*list preconfigured expression sets*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyListPreconfiguredExpressionSetCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyPatchRuleCall) and [*remove rule*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SecurityPolicyRemoveRuleCall) -* [snapshots](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Snapshot) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotGetIamPolicyCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SnapshotTestIamPermissionCall) -* [ssl certificates](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslCertificate) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslCertificateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslCertificateListCall) -* [ssl policies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicy) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicyListCall), [*list available features*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicyListAvailableFeatureCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SslPolicyPatchCall) -* [subnetworks](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Subnetwork) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkDeleteCall), [*expand ip cidr range*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkExpandIpCidrRangeCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkListCall), [*list usable*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkListUsableCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkPatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkSetIamPolicyCall), [*set private ip google access*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkSetPrivateIpGoogleAccesCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::SubnetworkTestIamPermissionCall) -* [target grpc proxies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetGrpcProxy) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetGrpcProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetGrpcProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetGrpcProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetGrpcProxyListCall) and [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetGrpcProxyPatchCall) -* [target http proxies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxy) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxyListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxyPatchCall) and [*set url map*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpProxySetUrlMapCall) -* [target https proxies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxy) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxyListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxyPatchCall), [*set quic override*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxySetQuicOverrideCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxySetSslCertificateCall), [*set ssl policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxySetSslPolicyCall) and [*set url map*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetHttpsProxySetUrlMapCall) -* [target instances](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetInstance) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetInstanceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetInstanceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetInstanceGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetInstanceInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetInstanceListCall) -* [target pools](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPool) - * [*add health check*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolAddHealthCheckCall), [*add instance*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolGetCall), [*get health*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolListCall), [*remove health check*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolRemoveHealthCheckCall), [*remove instance*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolRemoveInstanceCall) and [*set backup*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetPoolSetBackupCall) -* [target ssl proxies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxy) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxyListCall), [*set backend service*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxySetBackendServiceCall), [*set proxy header*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxySetProxyHeaderCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxySetSslCertificateCall) and [*set ssl policy*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetSslProxySetSslPolicyCall) -* [target tcp proxies](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxy) - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxyListCall), [*set backend service*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxySetBackendServiceCall) and [*set proxy header*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetTcpProxySetProxyHeaderCall) -* [target vpn gateways](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetVpnGateway) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetVpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetVpnGatewayInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::TargetVpnGatewayListCall) -* [url maps](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMap) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapInsertCall), [*invalidate cache*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapInvalidateCacheCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapListCall), [*patch*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapPatchCall), [*update*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::UrlMapValidateCall) -* [vpn gateways](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGateway) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayGetCall), [*get status*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayGetStatuCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnGatewayTestIamPermissionCall) -* [vpn tunnels](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnTunnel) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnTunnelAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnTunnelDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnTunnelGetCall), [*insert*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnTunnelInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::VpnTunnelListCall) + * [*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) * zone operations - * [*delete*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ZoneOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ZoneOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ZoneOperationWaitCall) -* [zones](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::Zone) - * [*get*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ZoneGetCall) and [*list*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/api::ZoneListCall) + * [*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) @@ -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.3+20210316/google_compute1/Compute)** +* **[Hub](https://docs.rs/google-compute1/2.0.4+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.3+20210316/google_compute1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/client::CallBuilder) -* **[Resources](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/client::Part)** + * **[Parts](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-compute1/2.0.3+20210316/google_compute1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -604,17 +604,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +624,29 @@ Methods supporting uploads can do so using up to 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.3+20210316/google_compute1/client::Delegate) to the -[Method Builder](https://docs.rs/google-compute1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_compute1/client::RequestValue) and -[decodable](https://docs.rs/google-compute1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-compute1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_compute1/client::RequestValue) are moved +* [request values](https://docs.rs/google-compute1/2.0.4+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 75cfd6f7a7..2344e00f16 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/compute1/src/client.rs b/gen/compute1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/compute1/src/client.rs +++ b/gen/compute1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/compute1/src/lib.rs b/gen/compute1/src/lib.rs index c64d33020f..42e53bebbc 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.3+20210316*, where *20210316* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *compute* *v1* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/reference/latest/). diff --git a/gen/consumersurveys2-cli/Cargo.toml b/gen/consumersurveys2-cli/Cargo.toml index ca34dc9a9b..3f7b2d5e78 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.3+20170407" +version = "2.0.4+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.3+20170407" +version = "2.0.4+20170407" diff --git a/gen/consumersurveys2-cli/README.md b/gen/consumersurveys2-cli/README.md index ec928522d8..f84af044d8 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.3*. +This documentation was generated from the *Consumer Surveys* API at revision *20170407*. The CLI is at version *2.0.4*. ```bash consumersurveys2 [options] diff --git a/gen/consumersurveys2-cli/mkdocs.yml b/gen/consumersurveys2-cli/mkdocs.yml index b762e533e3..d022e5e3f3 100644 --- a/gen/consumersurveys2-cli/mkdocs.yml +++ b/gen/consumersurveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Consumer Surveys v2.0.3+20170407 +site_name: Consumer Surveys v2.0.4+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 e515abcc11..c81a2bfa15 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.3+20170407") + .version("2.0.4+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 e06e679ab9..ac42f6508c 100644 --- a/gen/consumersurveys2/Cargo.toml +++ b/gen/consumersurveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-consumersurveys2" -version = "2.0.3+20170407" +version = "2.0.4+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.3+20170407" +documentation = "https://docs.rs/google-consumersurveys2/2.0.4+20170407" license = "MIT" keywords = ["consumersurveys", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/consumersurveys2/README.md b/gen/consumersurveys2/README.md index 2cc77c5022..9043df7fa6 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.3+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/ConsumerSurveys) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/ConsumerSurveys) ... * mobileapppanels - * [*get*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::MobileapppanelGetCall), [*list*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::MobileapppanelListCall) and [*update*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::MobileapppanelUpdateCall) + * [*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) * results - * [*get*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::ResultGetCall) -* [surveys](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::Survey) - * [*delete*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyListCall), [*start*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::SurveyUpdateCall) + * [*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) Download supported by ... -* [*get results*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/api::ResultGetCall) +* [*get results*](https://docs.rs/google-consumersurveys2/2.0.4+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.3+20170407/google_consumersurveys2/ConsumerSurveys)** +* **[Hub](https://docs.rs/google-consumersurveys2/2.0.4+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.3+20170407/google_consumersurveys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/client::Part)** + * **[Parts](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-consumersurveys2/2.0.3+20170407/google_consumersurveys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-consumersurveys2/2.0.3+20170407/google_consumersurveys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-consumersurveys2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20170407/google_consumersurveys2/client::RequestValue) and -[decodable](https://docs.rs/google-consumersurveys2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-consumersurveys2/2.0.3+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.4+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.3+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.4+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.3+20170407/google_consumersurveys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-consumersurveys2/2.0.4+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 18e236eda8..35c03841d0 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/consumersurveys2/src/client.rs b/gen/consumersurveys2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/consumersurveys2/src/client.rs +++ b/gen/consumersurveys2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/consumersurveys2/src/lib.rs b/gen/consumersurveys2/src/lib.rs index 03cca815f4..a12e46ebdc 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.3+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2). //! # Features //! diff --git a/gen/container1-cli/Cargo.toml b/gen/container1-cli/Cargo.toml index 9d4a2ede60..8637b10071 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.3+20210314" +version = "2.0.4+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.3+20210314" +version = "2.0.4+20210314" diff --git a/gen/container1-cli/README.md b/gen/container1-cli/README.md index 52883e18dd..86dd52a6a2 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.3*. +This documentation was generated from the *Container* API at revision *20210314*. The CLI is at version *2.0.4*. ```bash container1 [options] diff --git a/gen/container1-cli/mkdocs.yml b/gen/container1-cli/mkdocs.yml index 990ab56f2a..7c5de27271 100644 --- a/gen/container1-cli/mkdocs.yml +++ b/gen/container1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container v2.0.3+20210314 +site_name: Container v2.0.4+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 78af073490..6fa0fb1fa7 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.3+20210314") + .version("2.0.4+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 4e8bb3d0d7..cae86d6f9d 100644 --- a/gen/container1/Cargo.toml +++ b/gen/container1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-container1" -version = "2.0.3+20210314" +version = "2.0.4+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.3+20210314" +documentation = "https://docs.rs/google-container1/2.0.4+20210314" license = "MIT" keywords = ["container", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/container1/README.md b/gen/container1/README.md index a1f7931fd5..b5aa641a95 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.3+20210314*, where *20210314* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210314/google_container1/Container) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/2.0.4+20210314/google_container1/Container) ... * projects - * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectAggregatedUsableSubnetworkListCall), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterCompleteIpRotationCall), [*locations clusters create*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterCreateCall), [*locations clusters delete*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterDeleteCall), [*locations clusters get*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterGetCall), [*locations clusters get jwks*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterGetJwkCall), [*locations clusters list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterListCall), [*locations clusters node pools create*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolCreateCall), [*locations clusters node pools delete*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolDeleteCall), [*locations clusters node pools get*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolGetCall), [*locations clusters node pools list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolListCall), [*locations clusters node pools rollback*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolRollbackCall), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolSetAutoscalingCall), [*locations clusters node pools set management*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolSetManagementCall), [*locations clusters node pools set size*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolSetSizeCall), [*locations clusters node pools update*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterNodePoolUpdateCall), [*locations clusters set addons*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetAddonCall), [*locations clusters set legacy abac*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetLegacyAbacCall), [*locations clusters set locations*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetLocationCall), [*locations clusters set logging*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetLoggingCall), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetMaintenancePolicyCall), [*locations clusters set master auth*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetMasterAuthCall), [*locations clusters set monitoring*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetMonitoringCall), [*locations clusters set network policy*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetNetworkPolicyCall), [*locations clusters set resource labels*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterSetResourceLabelCall), [*locations clusters start ip rotation*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterStartIpRotationCall), [*locations clusters update*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterUpdateCall), [*locations clusters update master*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterUpdateMasterCall), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationClusterWellKnownGetOpenidConfigurationCall), [*locations get server config*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationGetServerConfigCall), [*locations operations cancel*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectLocationOperationListCall), [*zones clusters addons*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterAddonCall), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterCompleteIpRotationCall), [*zones clusters create*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterCreateCall), [*zones clusters delete*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterDeleteCall), [*zones clusters get*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterGetCall), [*zones clusters legacy abac*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterLegacyAbacCall), [*zones clusters list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterListCall), [*zones clusters locations*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterLocationCall), [*zones clusters logging*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterLoggingCall), [*zones clusters master*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterMasterCall), [*zones clusters monitoring*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterMonitoringCall), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolAutoscalingCall), [*zones clusters node pools create*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolCreateCall), [*zones clusters node pools delete*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolDeleteCall), [*zones clusters node pools get*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolGetCall), [*zones clusters node pools list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolListCall), [*zones clusters node pools rollback*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolRollbackCall), [*zones clusters node pools set management*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolSetManagementCall), [*zones clusters node pools set size*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolSetSizeCall), [*zones clusters node pools update*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterNodePoolUpdateCall), [*zones clusters resource labels*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterResourceLabelCall), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterSetMaintenancePolicyCall), [*zones clusters set master auth*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterSetMasterAuthCall), [*zones clusters set network policy*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterSetNetworkPolicyCall), [*zones clusters start ip rotation*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterStartIpRotationCall), [*zones clusters update*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneClusterUpdateCall), [*zones get serverconfig*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneGetServerconfigCall), [*zones operations cancel*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneOperationCancelCall), [*zones operations get*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneOperationGetCall) and [*zones operations list*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/api::ProjectZoneOperationListCall) + * [*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) @@ -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.3+20210314/google_container1/Container)** +* **[Hub](https://docs.rs/google-container1/2.0.4+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.3+20210314/google_container1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-container1/2.0.3+20210314/google_container1/client::CallBuilder) -* **[Resources](https://docs.rs/google-container1/2.0.3+20210314/google_container1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-container1/2.0.3+20210314/google_container1/client::Part)** + * **[Parts](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-container1/2.0.3+20210314/google_container1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +195,29 @@ Methods supporting uploads can do so using up to 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.3+20210314/google_container1/client::Delegate) to the -[Method Builder](https://docs.rs/google-container1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210314/google_container1/client::RequestValue) and -[decodable](https://docs.rs/google-container1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-container1/2.0.3+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.4+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.3+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.4+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.3+20210314/google_container1/client::RequestValue) are moved +* [request values](https://docs.rs/google-container1/2.0.4+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 d3ece1b238..c2079d0a1a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/container1/src/client.rs b/gen/container1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/container1/src/client.rs +++ b/gen/container1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs index 115520e3b6..7f36261013 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.3+20210314*, where *20210314* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Container* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-engine/). diff --git a/gen/containeranalysis1_beta1-cli/Cargo.toml b/gen/containeranalysis1_beta1-cli/Cargo.toml index 8541a13faa..be8c6221c4 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/containeranalysis1_beta1-cli/README.md b/gen/containeranalysis1_beta1-cli/README.md index b6169aea0f..2669fada57 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.3*. +This documentation was generated from the *Container Analysis* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash containeranalysis1-beta1 [options] diff --git a/gen/containeranalysis1_beta1-cli/mkdocs.yml b/gen/containeranalysis1_beta1-cli/mkdocs.yml index 6603053320..d69d41c324 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.3+20210326 +site_name: Container Analysis v2.0.4+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 c494dc42b6..a72b39e4c1 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.3+20210326") + .version("2.0.4+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 9d27235874..dd937aab8a 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.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-containeranalysis1_beta1/2.0.4+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 4482dabf97..dd781d8f34 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.3+20210326*, where *20210326* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_containeranalysis1_beta1/ContainerAnalysis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/ContainerAnalysis) ... * projects - * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceSetIamPolicyCall), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceTestIamPermissionCall), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigGetCall), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigListCall) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigUpdateCall) + * [*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) @@ -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.3+20210326/google_containeranalysis1_beta1/ContainerAnalysis)** +* **[Hub](https://docs.rs/google-containeranalysis1_beta1/2.0.4+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.3+20210326/google_containeranalysis1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-containeranalysis1_beta1/2.0.4+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. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-containeranalysis1_beta1/2.0.3+20210326/google_containeranalysis1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-containeranalysis1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_containeranalysis1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-containeranalysis1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_containeranalysis1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-containeranalysis1_beta1/2.0.4+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 1fdd46976f..476c46b275 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/containeranalysis1_beta1/src/client.rs b/gen/containeranalysis1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/containeranalysis1_beta1/src/client.rs +++ b/gen/containeranalysis1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/containeranalysis1_beta1/src/lib.rs b/gen/containeranalysis1_beta1/src/lib.rs index 4b1673c9ef..556258bd4c 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.3+20210326*, where *20210326* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/content2-cli/Cargo.toml b/gen/content2-cli/Cargo.toml index 2172ac2d26..a4b0201a87 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/content2-cli/README.md b/gen/content2-cli/README.md index cd8562c146..25b12fec38 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.3*. +This documentation was generated from the *Shopping Content* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash content2 [options] diff --git a/gen/content2-cli/mkdocs.yml b/gen/content2-cli/mkdocs.yml index 5aa1796f76..591c779206 100644 --- a/gen/content2-cli/mkdocs.yml +++ b/gen/content2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v2.0.3+20210325 +site_name: Shopping Content v2.0.4+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 7d00ba5b0f..2909dc2bed 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.3+20210325") + .version("2.0.4+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 d8e9ced335..a4aebb45b2 100644 --- a/gen/content2/Cargo.toml +++ b/gen/content2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-content2/2.0.4+20210325" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/content2/README.md b/gen/content2/README.md index 085581b200..6a52d57e61 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.3+20210325*, where *20210325* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_content2/ShoppingContent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/2.0.4+20210325/google_content2/ShoppingContent) ... -* [accounts](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::Account) - * [*authinfo*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountAuthinfoCall), [*claimwebsite*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountClaimwebsiteCall), [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountDeleteCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountGetCall), [*insert*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountInsertCall), [*link*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountLinkCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountListCall) and [*update*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountUpdateCall) +* [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) * accountstatuses - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccountstatuseListCall) + * [*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) * accounttax - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccounttaxCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccounttaxGetCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccounttaxListCall) and [*update*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::AccounttaxUpdateCall) -* [datafeeds](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::Datafeed) - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedDeleteCall), [*fetchnow*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedFetchnowCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedGetCall), [*insert*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedInsertCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedListCall) and [*update*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedUpdateCall) + * [*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) * datafeedstatuses - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::DatafeedstatuseListCall) -* [inventory](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::Inventory) - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::InventoryCustombatchCall) and [*set*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::InventorySetCall) + * [*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) * liasettings - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingGetCall), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingGetaccessiblegmbaccountCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingListCall), [*listposdataproviders*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingListposdataproviderCall), [*requestgmbaccess*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingRequestgmbaccesCall), [*requestinventoryverification*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingRequestinventoryverificationCall), [*setinventoryverificationcontact*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingSetinventoryverificationcontactCall), [*setposdataprovider*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingSetposdataproviderCall) and [*update*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::LiasettingUpdateCall) + * [*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) * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderinvoiceCreaterefundinvoiceCall) + * [*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) * orderreports - * [*listdisbursements*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderreportListdisbursementCall) and [*listtransactions*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderreportListtransactionCall) + * [*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) * orderreturns - * [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderreturnListCall) -* [orders](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::Order) - * [*acknowledge*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderListCall), [*refund*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::OrderUpdateshipmentCall) + * [*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) * pos - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoDeleteCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoGetCall), [*insert*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoInsertCall), [*inventory*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoInventoryCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoListCall) and [*sale*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::PoSaleCall) -* [products](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::Product) - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductDeleteCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductGetCall), [*insert*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductInsertCall) and [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductListCall) + * [*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) * productstatuses - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ProductstatuseListCall) + * [*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) * shippingsettings - * [*custombatch*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingGetCall), [*getsupportedcarriers*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingGetsupportedcarrierCall), [*getsupportedholidays*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingGetsupportedholidayCall), [*getsupportedpickupservices*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingGetsupportedpickupserviceCall), [*list*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingListCall) and [*update*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/api::ShippingsettingUpdateCall) + * [*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) @@ -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.3+20210325/google_content2/ShoppingContent)** +* **[Hub](https://docs.rs/google-content2/2.0.4+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.3+20210325/google_content2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2/2.0.3+20210325/google_content2/client::CallBuilder) -* **[Resources](https://docs.rs/google-content2/2.0.3+20210325/google_content2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2/2.0.3+20210325/google_content2/client::Part)** + * **[Parts](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2/2.0.3+20210325/google_content2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -182,17 +182,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-content2/2.0.3+20210325/google_content2/client::Delegate) to the -[Method Builder](https://docs.rs/google-content2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_content2/client::RequestValue) and -[decodable](https://docs.rs/google-content2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-content2/2.0.3+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.4+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.3+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.4+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.3+20210325/google_content2/client::RequestValue) are moved +* [request values](https://docs.rs/google-content2/2.0.4+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 f390afe385..a8ec7166b4 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/content2/src/client.rs b/gen/content2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/content2/src/client.rs +++ b/gen/content2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs index cdc3bda012..3ced832970 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.3+20210325*, where *20210325* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Shopping Content* *v2* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content/v2/). diff --git a/gen/content2_sandbox-cli/Cargo.toml b/gen/content2_sandbox-cli/Cargo.toml index 0ea32fee31..c989bc518c 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.3+20181009" +version = "2.0.4+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.3+20181009" +version = "2.0.4+20181009" diff --git a/gen/content2_sandbox-cli/README.md b/gen/content2_sandbox-cli/README.md index d3a437fb97..30bb504a83 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.3*. +This documentation was generated from the *Shopping Content* API at revision *20181009*. The CLI is at version *2.0.4*. ```bash content2-sandbox [options] diff --git a/gen/content2_sandbox-cli/mkdocs.yml b/gen/content2_sandbox-cli/mkdocs.yml index 1f1ab10003..f8dfc83c44 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.3+20181009 +site_name: Shopping Content v2.0.4+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 001bf0dc25..61863d1b71 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.3+20181009") + .version("2.0.4+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 f259e23700..01d519ec18 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.3+20181009" +version = "2.0.4+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.3+20181009" +documentation = "https://docs.rs/google-content2_sandbox/2.0.4+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 d30bb09784..4f093d23b2 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.3+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20181009/google_content2_sandbox/ShoppingContent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/ShoppingContent) ... * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderinvoiceCreaterefundinvoiceCall) + * [*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) * orderpayments - * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthapprovedCall), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthdeclinedCall), [*notifycharge*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderpaymentNotifychargeCall) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderpaymentNotifyrefundCall) + * [*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) * orderreturns - * [*get*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderreturnListCall) -* [orders](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::Order) - * [*acknowledge*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderListCall), [*refund*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/api::OrderUpdateshipmentCall) + * [*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) @@ -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.3+20181009/google_content2_sandbox/ShoppingContent)** +* **[Hub](https://docs.rs/google-content2_sandbox/2.0.4+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.3+20181009/google_content2_sandbox/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/client::CallBuilder) -* **[Resources](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/client::Part)** + * **[Parts](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2_sandbox/2.0.3+20181009/google_content2_sandbox/client::CallBuilder)** +* **[Activities](https://docs.rs/google-content2_sandbox/2.0.4+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. @@ -160,17 +160,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +180,29 @@ Methods supporting uploads can do so using up to 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.3+20181009/google_content2_sandbox/client::Delegate) to the -[Method Builder](https://docs.rs/google-content2_sandbox/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20181009/google_content2_sandbox/client::RequestValue) and -[decodable](https://docs.rs/google-content2_sandbox/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/2.0.3+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.4+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.3+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.4+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.3+20181009/google_content2_sandbox/client::RequestValue) are moved +* [request values](https://docs.rs/google-content2_sandbox/2.0.4+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 7c713a3d16..52d4b1772c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/content2_sandbox/src/client.rs b/gen/content2_sandbox/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/content2_sandbox/src/client.rs +++ b/gen/content2_sandbox/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs index c3382fe4b7..f5c6688632 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.3+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Shopping Content* *v2_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). diff --git a/gen/coordinate1-cli/Cargo.toml b/gen/coordinate1-cli/Cargo.toml index fbb36ffd08..87bcfe3dde 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.3+20150811" +version = "2.0.4+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.3+20150811" +version = "2.0.4+20150811" diff --git a/gen/coordinate1-cli/README.md b/gen/coordinate1-cli/README.md index 8a3f4eb725..1a243e3bc5 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.3*. +This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *2.0.4*. ```bash coordinate1 [options] diff --git a/gen/coordinate1-cli/mkdocs.yml b/gen/coordinate1-cli/mkdocs.yml index 8203f58a1b..6123645b34 100644 --- a/gen/coordinate1-cli/mkdocs.yml +++ b/gen/coordinate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: coordinate v2.0.3+20150811 +site_name: coordinate v2.0.4+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 6d7bd41ada..f4637fa01d 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.3+20150811") + .version("2.0.4+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 01e46f7dd2..f56e8faf21 100644 --- a/gen/coordinate1/Cargo.toml +++ b/gen/coordinate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-coordinate1" -version = "2.0.3+20150811" +version = "2.0.4+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.3+20150811" +documentation = "https://docs.rs/google-coordinate1/2.0.4+20150811" license = "MIT" keywords = ["coordinate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/coordinate1/README.md b/gen/coordinate1/README.md index d2da445377..8ec5d3aa5b 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.3+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20150811/google_coordinate1/Coordinate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/Coordinate) ... -* [custom field def](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::CustomFieldDef) - * [*list*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::CustomFieldDefListCall) -* [jobs](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::Job) - * [*get*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::JobGetCall), [*insert*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::JobInsertCall), [*list*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::JobListCall), [*patch*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::JobPatchCall) and [*update*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::JobUpdateCall) -* [location](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::Location) - * [*list*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::LocationListCall) -* [schedule](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::Schedule) - * [*get*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::ScheduleGetCall), [*patch*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::SchedulePatchCall) and [*update*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::ScheduleUpdateCall) -* [team](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::Team) - * [*list*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::TeamListCall) -* [worker](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::Worker) - * [*list*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/api::WorkerListCall) +* [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) @@ -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.3+20150811/google_coordinate1/Coordinate)** +* **[Hub](https://docs.rs/google-coordinate1/2.0.4+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.3+20150811/google_coordinate1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/client::CallBuilder) -* **[Resources](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/client::Part)** + * **[Parts](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-coordinate1/2.0.3+20150811/google_coordinate1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -156,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-coordinate1/2.0.3+20150811/google_coordinate1/client::Delegate) to the -[Method Builder](https://docs.rs/google-coordinate1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20150811/google_coordinate1/client::RequestValue) and -[decodable](https://docs.rs/google-coordinate1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/2.0.3+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.4+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.3+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.4+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.3+20150811/google_coordinate1/client::RequestValue) are moved +* [request values](https://docs.rs/google-coordinate1/2.0.4+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 76f5eb23bf..b91895c0e1 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/coordinate1/src/client.rs b/gen/coordinate1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/coordinate1/src/client.rs +++ b/gen/coordinate1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/coordinate1/src/lib.rs b/gen/coordinate1/src/lib.rs index afe4bd199e..8e20425e50 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.3+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *coordinate* *v1* API can be found at the //! [official documentation site](https://developers.google.com/coordinate/). diff --git a/gen/customsearch1-cli/Cargo.toml b/gen/customsearch1-cli/Cargo.toml index 16fb6968c8..970d0c0b48 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/customsearch1-cli/README.md b/gen/customsearch1-cli/README.md index 99ea74283b..cd00ac5e62 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.3*. +This documentation was generated from the *CustomSearch API* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash customsearch1 [options] diff --git a/gen/customsearch1-cli/mkdocs.yml b/gen/customsearch1-cli/mkdocs.yml index 6c341f1c06..2d5b7f6317 100644 --- a/gen/customsearch1-cli/mkdocs.yml +++ b/gen/customsearch1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CustomSearch API v2.0.3+20210330 +site_name: CustomSearch API v2.0.4+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 20d9859391..503a077770 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.3+20210330") + .version("2.0.4+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 0b4106df91..bba0b9b1c5 100644 --- a/gen/customsearch1/Cargo.toml +++ b/gen/customsearch1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-customsearch1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-customsearch1/2.0.4+20210330" license = "MIT" keywords = ["customsearch", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/customsearch1/README.md b/gen/customsearch1/README.md index c94820bd0d..2df0acdfbd 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.3+20210330*, where *20210330* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_customsearch1/CustomSearchAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/CustomSearchAPI) ... * cse - * [*list*](https://docs.rs/google-customsearch1/2.0.3+20210330/google_customsearch1/api::CseListCall) and [*siterestrict list*](https://docs.rs/google-customsearch1/2.0.3+20210330/google_customsearch1/api::CseSiterestrictListCall) + * [*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) @@ -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.3+20210330/google_customsearch1/CustomSearchAPI)** +* **[Hub](https://docs.rs/google-customsearch1/2.0.4+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.3+20210330/google_customsearch1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/2.0.3+20210330/google_customsearch1/client::CallBuilder) -* **[Resources](https://docs.rs/google-customsearch1/2.0.3+20210330/google_customsearch1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-customsearch1/2.0.3+20210330/google_customsearch1/client::Part)** + * **[Parts](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-customsearch1/2.0.3+20210330/google_customsearch1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -158,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-customsearch1/2.0.3+20210330/google_customsearch1/client::Delegate) to the -[Method Builder](https://docs.rs/google-customsearch1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_customsearch1/client::RequestValue) and -[decodable](https://docs.rs/google-customsearch1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_customsearch1/client::RequestValue) are moved +* [request values](https://docs.rs/google-customsearch1/2.0.4+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 06b77e782a..e6983f7dda 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/customsearch1/src/client.rs b/gen/customsearch1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/customsearch1/src/client.rs +++ b/gen/customsearch1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/customsearch1/src/lib.rs b/gen/customsearch1/src/lib.rs index 9af1062f50..fae786aca1 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.3+20210330*, where *20210330* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *CustomSearch API* *v1* API can be found at the //! [official documentation site](https://developers.google.com/custom-search/v1/introduction). diff --git a/gen/datacatalog1_beta1-cli/Cargo.toml b/gen/datacatalog1_beta1-cli/Cargo.toml index d2fc142249..3fceed18da 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/datacatalog1_beta1-cli/README.md b/gen/datacatalog1_beta1-cli/README.md index 5f1afbf870..049cba6607 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.3*. +This documentation was generated from the *Data Catalog* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash datacatalog1-beta1 [options] diff --git a/gen/datacatalog1_beta1-cli/mkdocs.yml b/gen/datacatalog1_beta1-cli/mkdocs.yml index ee7d6657eb..32a42d6916 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.3+20210316 +site_name: Data Catalog v2.0.4+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 f138d0d6b3..92f9634635 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.3+20210316") + .version("2.0.4+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 7372936580..63a91d5a30 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.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-datacatalog1_beta1/2.0.4+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 42b5c8e400..4f85e2a763 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.3+20210316*, where *20210316* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_datacatalog1_beta1/DataCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/DataCatalog) ... * catalog - * [*search*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::CatalogSearchCall) + * [*search*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::CatalogSearchCall) * entries - * [*lookup*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::EntryLookupCall) + * [*lookup*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::EntryLookupCall) * projects - * [*locations entry groups create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyTestIamPermissionCall) + * [*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) @@ -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.3+20210316/google_datacatalog1_beta1/DataCatalog)** +* **[Hub](https://docs.rs/google-datacatalog1_beta1/2.0.4+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.3+20210316/google_datacatalog1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datacatalog1_beta1/2.0.4+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. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datacatalog1_beta1/2.0.3+20210316/google_datacatalog1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datacatalog1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_datacatalog1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datacatalog1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_datacatalog1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datacatalog1_beta1/2.0.4+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 baef62f134..7218874c26 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datacatalog1_beta1/src/client.rs b/gen/datacatalog1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datacatalog1_beta1/src/client.rs +++ b/gen/datacatalog1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datacatalog1_beta1/src/lib.rs b/gen/datacatalog1_beta1/src/lib.rs index 0e2ce0314c..f89af25944 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.3+20210316*, where *20210316* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Data Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-catalog/docs/). diff --git a/gen/datafusion1-cli/Cargo.toml b/gen/datafusion1-cli/Cargo.toml index 7c5aea3a97..667e8fd148 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/datafusion1-cli/README.md b/gen/datafusion1-cli/README.md index 3ec0956ad0..4b30028658 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.3*. +This documentation was generated from the *Data Fusion* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash datafusion1 [options] diff --git a/gen/datafusion1-cli/mkdocs.yml b/gen/datafusion1-cli/mkdocs.yml index 19ddb65d1a..45aa81867a 100644 --- a/gen/datafusion1-cli/mkdocs.yml +++ b/gen/datafusion1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Fusion v2.0.3+20210322 +site_name: Data Fusion v2.0.4+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 cdc332641b..571e76a738 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.3+20210322") + .version("2.0.4+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 3fcfe1797a..c31230b14d 100644 --- a/gen/datafusion1/Cargo.toml +++ b/gen/datafusion1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datafusion1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-datafusion1/2.0.4+20210322" license = "MIT" keywords = ["datafusion", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datafusion1/README.md b/gen/datafusion1/README.md index 311e1ab20a..56693ba9c5 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.3+20210322*, where *20210322* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_datafusion1/DataFusion) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/DataFusion) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations list*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationOperationListCall) and [*locations versions list*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/api::ProjectLocationVersionListCall) + * [*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) @@ -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.3+20210322/google_datafusion1/DataFusion)** +* **[Hub](https://docs.rs/google-datafusion1/2.0.4+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.3+20210322/google_datafusion1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/client::Part)** + * **[Parts](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1/2.0.3+20210322/google_datafusion1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datafusion1/2.0.3+20210322/google_datafusion1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datafusion1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_datafusion1/client::RequestValue) and -[decodable](https://docs.rs/google-datafusion1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datafusion1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_datafusion1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datafusion1/2.0.4+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 9e8d15d74c..a8dd7a32f9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datafusion1/src/client.rs b/gen/datafusion1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datafusion1/src/client.rs +++ b/gen/datafusion1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datafusion1/src/lib.rs b/gen/datafusion1/src/lib.rs index 82d823c00a..3caa905094 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.3+20210322*, where *20210322* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Data Fusion* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). diff --git a/gen/datafusion1_beta1-cli/Cargo.toml b/gen/datafusion1_beta1-cli/Cargo.toml index 9731e20f2f..bdceb0fc1d 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/datafusion1_beta1-cli/README.md b/gen/datafusion1_beta1-cli/README.md index 15071e2d02..e0ef634983 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.3*. +This documentation was generated from the *Data Fusion* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash datafusion1-beta1 [options] diff --git a/gen/datafusion1_beta1-cli/mkdocs.yml b/gen/datafusion1_beta1-cli/mkdocs.yml index 72251e7640..d0e623dba9 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.3+20210322 +site_name: Data Fusion v2.0.4+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 e212d9e139..588852dcf0 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.3+20210322") + .version("2.0.4+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 a35e6e8aaa..b552dc360e 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.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-datafusion1_beta1/2.0.4+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 9fbccfe551..969a981358 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.3+20210322*, where *20210322* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_datafusion1_beta1/DataFusion) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/DataFusion) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/api::ProjectLocationVersionListCall) + * [*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) @@ -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.3+20210322/google_datafusion1_beta1/DataFusion)** +* **[Hub](https://docs.rs/google-datafusion1_beta1/2.0.4+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.3+20210322/google_datafusion1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datafusion1_beta1/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datafusion1_beta1/2.0.3+20210322/google_datafusion1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datafusion1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_datafusion1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datafusion1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_datafusion1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datafusion1_beta1/2.0.4+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 ed787f1f28..e634d503e2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datafusion1_beta1/src/client.rs b/gen/datafusion1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datafusion1_beta1/src/client.rs +++ b/gen/datafusion1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datafusion1_beta1/src/lib.rs b/gen/datafusion1_beta1/src/lib.rs index 990255f652..4b408073fb 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.3+20210322*, where *20210322* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Data Fusion* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). diff --git a/gen/datalabeling1_beta1-cli/Cargo.toml b/gen/datalabeling1_beta1-cli/Cargo.toml index 03c46aa522..dcfc1b91ab 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/datalabeling1_beta1-cli/README.md b/gen/datalabeling1_beta1-cli/README.md index fe37fbfb1e..2ae4b3f678 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.3*. +This documentation was generated from the *Data Labeling* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash datalabeling1-beta1 [options] diff --git a/gen/datalabeling1_beta1-cli/mkdocs.yml b/gen/datalabeling1_beta1-cli/mkdocs.yml index 29826f5e48..8c3cd37172 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.3+20210317 +site_name: Data Labeling v2.0.4+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 4062b9bf13..6f489e5616 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.3+20210317") + .version("2.0.4+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 a97fd4b42e..f3a8550e80 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.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-datalabeling1_beta1/2.0.4+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 7128269f21..97db38dfdc 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.3+20210317*, where *20210317* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_datalabeling1_beta1/DataLabeling) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/DataLabeling) ... * projects - * [*annotation spec sets create*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetCreateCall), [*annotation spec sets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetDeleteCall), [*annotation spec sets get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetGetCall), [*annotation spec sets list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetListCall), [*datasets annotated datasets data items get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemGetCall), [*datasets annotated datasets data items list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemListCall), [*datasets annotated datasets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDeleteCall), [*datasets annotated datasets examples get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleGetCall), [*datasets annotated datasets examples list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleListCall), [*datasets annotated datasets feedback threads delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadDeleteCall), [*datasets annotated datasets feedback threads feedback messages create*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageCreateCall), [*datasets annotated datasets feedback threads feedback messages delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageDeleteCall), [*datasets annotated datasets feedback threads feedback messages get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageGetCall), [*datasets annotated datasets feedback threads feedback messages list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageListCall), [*datasets annotated datasets feedback threads get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadGetCall), [*datasets annotated datasets feedback threads list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadListCall), [*datasets annotated datasets get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetGetCall), [*datasets annotated datasets list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetListCall), [*datasets create*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetCreateCall), [*datasets data items get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetDataItemGetCall), [*datasets data items list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetDataItemListCall), [*datasets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetDeleteCall), [*datasets evaluations example comparisons search*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetEvaluationExampleComparisonSearchCall), [*datasets evaluations get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetEvaluationGetCall), [*datasets export data*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetExportDataCall), [*datasets get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetGetCall), [*datasets image label*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetImageLabelCall), [*datasets import data*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetImportDataCall), [*datasets list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetListCall), [*datasets text label*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetTextLabelCall), [*datasets video label*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectDatasetVideoLabelCall), [*evaluation jobs create*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobCreateCall), [*evaluation jobs delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobDeleteCall), [*evaluation jobs get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobGetCall), [*evaluation jobs list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobListCall), [*evaluation jobs patch*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobPatchCall), [*evaluation jobs pause*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobPauseCall), [*evaluation jobs resume*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobResumeCall), [*evaluations search*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectEvaluationSearchCall), [*instructions create*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectInstructionCreateCall), [*instructions delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectInstructionDeleteCall), [*instructions get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectInstructionGetCall), [*instructions list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectInstructionListCall), [*operations cancel*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/api::ProjectOperationListCall) + * [*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) @@ -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.3+20210317/google_datalabeling1_beta1/DataLabeling)** +* **[Hub](https://docs.rs/google-datalabeling1_beta1/2.0.4+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.3+20210317/google_datalabeling1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datalabeling1_beta1/2.0.4+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. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datalabeling1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datalabeling1_beta1/2.0.3+20210317/google_datalabeling1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datalabeling1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_datalabeling1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datalabeling1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datalabeling1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_datalabeling1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datalabeling1_beta1/2.0.4+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 7f803e6fa2..90e4a44c75 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datalabeling1_beta1/src/client.rs b/gen/datalabeling1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datalabeling1_beta1/src/client.rs +++ b/gen/datalabeling1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datalabeling1_beta1/src/lib.rs b/gen/datalabeling1_beta1/src/lib.rs index af06ec3d98..10fdf79152 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.3+20210317*, where *20210317* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Data Labeling* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-labeling/docs/). diff --git a/gen/datamigration1-cli/Cargo.toml b/gen/datamigration1-cli/Cargo.toml index 30b90feafc..22f3038cf0 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/datamigration1-cli/README.md b/gen/datamigration1-cli/README.md index 6331569e2e..5e440b1d70 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.3*. +This documentation was generated from the *Database Migration Service* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash datamigration1 [options] diff --git a/gen/datamigration1-cli/mkdocs.yml b/gen/datamigration1-cli/mkdocs.yml index 71fb7b73c8..f8aa1c7b81 100644 --- a/gen/datamigration1-cli/mkdocs.yml +++ b/gen/datamigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Database Migration Service v2.0.3+20210317 +site_name: Database Migration Service v2.0.4+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 7067833240..a645fe71f4 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.3+20210317") + .version("2.0.4+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 6b57a5a85b..765b0daeae 100644 --- a/gen/datamigration1/Cargo.toml +++ b/gen/datamigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datamigration1" -version = "2.0.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-datamigration1/2.0.4+20210317" license = "MIT" keywords = ["datamigration", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datamigration1/README.md b/gen/datamigration1/README.md index 335c5e92d1..3863a7ff05 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.3+20210317*, where *20210317* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_datamigration1/DatabaseMigrationService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/DatabaseMigrationService) ... * projects - * [*locations connection profiles create*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles get*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles get iam policy*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileGetIamPolicyCall), [*locations connection profiles list*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfilePatchCall), [*locations connection profiles set iam policy*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileSetIamPolicyCall), [*locations connection profiles test iam permissions*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationConnectionProfileTestIamPermissionCall), [*locations get*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationListCall), [*locations migration jobs create*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobCreateCall), [*locations migration jobs delete*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobDeleteCall), [*locations migration jobs generate ssh script*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobGenerateSshScriptCall), [*locations migration jobs get*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobGetCall), [*locations migration jobs get iam policy*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobGetIamPolicyCall), [*locations migration jobs list*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobListCall), [*locations migration jobs patch*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobPatchCall), [*locations migration jobs promote*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobPromoteCall), [*locations migration jobs restart*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobRestartCall), [*locations migration jobs resume*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobResumeCall), [*locations migration jobs set iam policy*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobSetIamPolicyCall), [*locations migration jobs start*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobStartCall), [*locations migration jobs stop*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobStopCall), [*locations migration jobs test iam permissions*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobTestIamPermissionCall), [*locations migration jobs verify*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationMigrationJobVerifyCall), [*locations operations cancel*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210317/google_datamigration1/DatabaseMigrationService)** +* **[Hub](https://docs.rs/google-datamigration1/2.0.4+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.3+20210317/google_datamigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/client::Part)** + * **[Parts](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datamigration1/2.0.3+20210317/google_datamigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datamigration1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datamigration1/2.0.3+20210317/google_datamigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datamigration1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_datamigration1/client::RequestValue) and -[decodable](https://docs.rs/google-datamigration1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datamigration1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_datamigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datamigration1/2.0.4+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 af20e9a22d..d3eaca114f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datamigration1/src/client.rs b/gen/datamigration1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datamigration1/src/client.rs +++ b/gen/datamigration1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datamigration1/src/lib.rs b/gen/datamigration1/src/lib.rs index c84834402e..76ccc0304d 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.3+20210317*, where *20210317* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Database Migration Service* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/database-migration/). diff --git a/gen/dataproc1-cli/Cargo.toml b/gen/dataproc1-cli/Cargo.toml index ac32a903a7..e1cb4a8652 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/dataproc1-cli/README.md b/gen/dataproc1-cli/README.md index 3f0f33e719..f5cd6f3d02 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.3*. +This documentation was generated from the *Dataproc* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash dataproc1 [options] diff --git a/gen/dataproc1-cli/mkdocs.yml b/gen/dataproc1-cli/mkdocs.yml index 05d4bb8f13..53e0611aa0 100644 --- a/gen/dataproc1-cli/mkdocs.yml +++ b/gen/dataproc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dataproc v2.0.3+20210322 +site_name: Dataproc v2.0.4+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 c625f0f7c7..83bb67e97a 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.3+20210322") + .version("2.0.4+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 23eeb7e6f7..1467689f29 100644 --- a/gen/dataproc1/Cargo.toml +++ b/gen/dataproc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dataproc1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-dataproc1/2.0.4+20210322" license = "MIT" keywords = ["dataproc", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dataproc1/README.md b/gen/dataproc1/README.md index 6f36934e8b..294d4a11b0 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.3+20210322*, where *20210322* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_dataproc1/Dataproc) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/Dataproc) ... * projects - * [*locations autoscaling policies create*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyCreateCall), [*locations autoscaling policies delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyDeleteCall), [*locations autoscaling policies get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetCall), [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetIamPolicyCall), [*locations autoscaling policies list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyListCall), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicySetIamPolicyCall), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyTestIamPermissionCall), [*locations autoscaling policies update*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyUpdateCall), [*locations workflow templates create*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateCreateCall), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateDeleteCall), [*locations workflow templates get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateGetCall), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateGetIamPolicyCall), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateCall), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateInlineCall), [*locations workflow templates list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateListCall), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateSetIamPolicyCall), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateTestIamPermissionCall), [*locations workflow templates update*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateUpdateCall), [*regions autoscaling policies create*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyCreateCall), [*regions autoscaling policies delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyDeleteCall), [*regions autoscaling policies get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetCall), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetIamPolicyCall), [*regions autoscaling policies list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyListCall), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicySetIamPolicyCall), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyTestIamPermissionCall), [*regions autoscaling policies update*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyUpdateCall), [*regions clusters create*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterCreateCall), [*regions clusters delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterDeleteCall), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterDiagnoseCall), [*regions clusters get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterGetCall), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterGetIamPolicyCall), [*regions clusters inject credentials*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterInjectCredentialCall), [*regions clusters list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterListCall), [*regions clusters patch*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterPatchCall), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterSetIamPolicyCall), [*regions clusters start*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterStartCall), [*regions clusters stop*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterStopCall), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionClusterTestIamPermissionCall), [*regions jobs cancel*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobCancelCall), [*regions jobs delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobDeleteCall), [*regions jobs get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobGetCall), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobGetIamPolicyCall), [*regions jobs list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobListCall), [*regions jobs patch*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobPatchCall), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobSetIamPolicyCall), [*regions jobs submit*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobSubmitCall), [*regions jobs submit as operation*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobSubmitAsOperationCall), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionJobTestIamPermissionCall), [*regions operations cancel*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationCancelCall), [*regions operations delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationDeleteCall), [*regions operations get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationGetCall), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationGetIamPolicyCall), [*regions operations list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationListCall), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationSetIamPolicyCall), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionOperationTestIamPermissionCall), [*regions workflow templates create*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateCreateCall), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateDeleteCall), [*regions workflow templates get*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateGetCall), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateGetIamPolicyCall), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateCall), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateInlineCall), [*regions workflow templates list*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateListCall), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateSetIamPolicyCall), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateTestIamPermissionCall) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateUpdateCall) + * [*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) @@ -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.3+20210322/google_dataproc1/Dataproc)** +* **[Hub](https://docs.rs/google-dataproc1/2.0.4+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.3+20210322/google_dataproc1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/client::Part)** + * **[Parts](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dataproc1/2.0.3+20210322/google_dataproc1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-dataproc1/2.0.3+20210322/google_dataproc1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dataproc1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_dataproc1/client::RequestValue) and -[decodable](https://docs.rs/google-dataproc1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_dataproc1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dataproc1/2.0.4+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 7b753002b7..1536f31569 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dataproc1/src/client.rs b/gen/dataproc1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dataproc1/src/client.rs +++ b/gen/dataproc1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dataproc1/src/lib.rs b/gen/dataproc1/src/lib.rs index 236f06f899..f58dd3dcc0 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.3+20210322*, where *20210322* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Dataproc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc/). diff --git a/gen/datastore1-cli/Cargo.toml b/gen/datastore1-cli/Cargo.toml index 7b823e6124..25fb7333f0 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/datastore1-cli/README.md b/gen/datastore1-cli/README.md index 65675042ea..a1f9428e31 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.3*. +This documentation was generated from the *datastore* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash datastore1 [options] diff --git a/gen/datastore1-cli/mkdocs.yml b/gen/datastore1-cli/mkdocs.yml index a14db34959..8578cd0250 100644 --- a/gen/datastore1-cli/mkdocs.yml +++ b/gen/datastore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v2.0.3+20210317 +site_name: datastore v2.0.4+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 5bba54d54b..7c71456450 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.3+20210317") + .version("2.0.4+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 3c52382e6e..35e8612fab 100644 --- a/gen/datastore1/Cargo.toml +++ b/gen/datastore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1" -version = "2.0.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-datastore1/2.0.4+20210317" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datastore1/README.md b/gen/datastore1/README.md index fdc781ec8b..42d5784731 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.3+20210317*, where *20210317* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_datastore1/Datastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/Datastore) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectCommitCall), [*export*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectExportCall), [*import*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectImportCall), [*indexes create*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectIndexeCreateCall), [*indexes delete*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectIndexeDeleteCall), [*indexes get*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectIndexeGetCall), [*indexes list*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectIndexeListCall), [*lookup*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectLookupCall), [*operations cancel*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectOperationListCall), [*reserve ids*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/api::ProjectRunQueryCall) + * [*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) @@ -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.3+20210317/google_datastore1/Datastore)** +* **[Hub](https://docs.rs/google-datastore1/2.0.4+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.3+20210317/google_datastore1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/client::Part)** + * **[Parts](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1/2.0.3+20210317/google_datastore1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datastore1/2.0.3+20210317/google_datastore1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastore1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_datastore1/client::RequestValue) and -[decodable](https://docs.rs/google-datastore1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastore1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_datastore1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastore1/2.0.4+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 23a97e8d57..bf31c156a3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datastore1/src/client.rs b/gen/datastore1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datastore1/src/client.rs +++ b/gen/datastore1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datastore1/src/lib.rs b/gen/datastore1/src/lib.rs index f08156f9a5..9faad6f7cf 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.3+20210317*, where *20210317* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *datastore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). diff --git a/gen/datastore1_beta3-cli/Cargo.toml b/gen/datastore1_beta3-cli/Cargo.toml index e611dff9f6..79cc2dc89c 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/datastore1_beta3-cli/README.md b/gen/datastore1_beta3-cli/README.md index 07756604e6..95535a4f68 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.3*. +This documentation was generated from the *datastore* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash datastore1-beta3 [options] diff --git a/gen/datastore1_beta3-cli/mkdocs.yml b/gen/datastore1_beta3-cli/mkdocs.yml index a8d457c35f..89010bef41 100644 --- a/gen/datastore1_beta3-cli/mkdocs.yml +++ b/gen/datastore1_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v2.0.3+20210317 +site_name: datastore v2.0.4+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 58286e4a03..2bca0cd20e 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.3+20210317") + .version("2.0.4+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 211847b21c..8818470878 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.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-datastore1_beta3/2.0.4+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 f95e69371d..62e87d152c 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.3+20210317*, where *20210317* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_datastore1_beta3/Datastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/Datastore) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectCommitCall), [*lookup*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectLookupCall), [*reserve ids*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/api::ProjectRunQueryCall) + * [*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) @@ -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.3+20210317/google_datastore1_beta3/Datastore)** +* **[Hub](https://docs.rs/google-datastore1_beta3/2.0.4+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.3+20210317/google_datastore1_beta3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/client::Part)** + * **[Parts](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastore1_beta3/2.0.4+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. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-datastore1_beta3/2.0.3+20210317/google_datastore1_beta3/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastore1_beta3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_datastore1_beta3/client::RequestValue) and -[decodable](https://docs.rs/google-datastore1_beta3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastore1_beta3/2.0.3+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.4+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.3+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.4+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.3+20210317/google_datastore1_beta3/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastore1_beta3/2.0.4+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 4baec56388..7b1d226094 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/datastore1_beta3/src/client.rs b/gen/datastore1_beta3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/datastore1_beta3/src/client.rs +++ b/gen/datastore1_beta3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/datastore1_beta3/src/lib.rs b/gen/datastore1_beta3/src/lib.rs index 51ff49a2fb..b8a33bffc6 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.3+20210317*, where *20210317* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *datastore* *v1_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). diff --git a/gen/deploymentmanager2-cli/Cargo.toml b/gen/deploymentmanager2-cli/Cargo.toml index ff801a5c8d..48b5e0824a 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.3+20210320" +version = "2.0.4+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.3+20210320" +version = "2.0.4+20210320" diff --git a/gen/deploymentmanager2-cli/README.md b/gen/deploymentmanager2-cli/README.md index 298417f1de..b72bd43167 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.3*. +This documentation was generated from the *Deployment Manager* API at revision *20210320*. The CLI is at version *2.0.4*. ```bash deploymentmanager2 [options] diff --git a/gen/deploymentmanager2-cli/mkdocs.yml b/gen/deploymentmanager2-cli/mkdocs.yml index e74186bfb3..ad47ff1778 100644 --- a/gen/deploymentmanager2-cli/mkdocs.yml +++ b/gen/deploymentmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v2.0.3+20210320 +site_name: Deployment Manager v2.0.4+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 53434bd928..386fd106e4 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.3+20210320") + .version("2.0.4+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 9fcd8d976c..19e922d986 100644 --- a/gen/deploymentmanager2/Cargo.toml +++ b/gen/deploymentmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2" -version = "2.0.3+20210320" +version = "2.0.4+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.3+20210320" +documentation = "https://docs.rs/google-deploymentmanager2/2.0.4+20210320" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/deploymentmanager2/README.md b/gen/deploymentmanager2/README.md index de3c2cfb07..68c324f6fa 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.3+20210320*, where *20210320* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210320/google_deploymentmanager2/DeploymentManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/DeploymentManager) ... -* [deployments](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::Deployment) - * [*cancel preview*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::DeploymentUpdateCall) -* [manifests](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::Manifest) - * [*get*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::ManifestListCall) -* [operations](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::Operation) - * [*get*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::OperationListCall) -* [resources](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::Resource) - * [*get*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::ResourceListCall) -* [types](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::Type) - * [*list*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/api::TypeListCall) +* [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) @@ -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.3+20210320/google_deploymentmanager2/DeploymentManager)** +* **[Hub](https://docs.rs/google-deploymentmanager2/2.0.4+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.3+20210320/google_deploymentmanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/client::Part)** + * **[Parts](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-deploymentmanager2/2.0.3+20210320/google_deploymentmanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-deploymentmanager2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210320/google_deploymentmanager2/client::RequestValue) and -[decodable](https://docs.rs/google-deploymentmanager2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/2.0.3+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.4+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.3+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.4+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.3+20210320/google_deploymentmanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-deploymentmanager2/2.0.4+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 cb5b032386..a87b969fea 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/deploymentmanager2/src/client.rs b/gen/deploymentmanager2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/deploymentmanager2/src/client.rs +++ b/gen/deploymentmanager2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/deploymentmanager2/src/lib.rs b/gen/deploymentmanager2/src/lib.rs index 30e5ea7480..acc2982115 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.3+20210320*, where *20210320* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Deployment Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager). diff --git a/gen/deploymentmanager2_beta2-cli/Cargo.toml b/gen/deploymentmanager2_beta2-cli/Cargo.toml index 19eb9075bb..c484fd0843 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.3+20160201" +version = "2.0.4+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.3+20160201" +version = "2.0.4+20160201" diff --git a/gen/deploymentmanager2_beta2-cli/README.md b/gen/deploymentmanager2_beta2-cli/README.md index 99a48a4a68..e7f6408509 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.3*. +This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *2.0.4*. ```bash deploymentmanager2-beta2 [options] diff --git a/gen/deploymentmanager2_beta2-cli/mkdocs.yml b/gen/deploymentmanager2_beta2-cli/mkdocs.yml index 24181c0d92..bc9996d8c9 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.3+20160201 +site_name: Deployment Manager v2.0.4+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 d67980439f..62fd434f46 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.3+20160201") + .version("2.0.4+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 c74baaa2a5..c3261dd5ce 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.3+20160201" +version = "2.0.4+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.3+20160201" +documentation = "https://docs.rs/google-deploymentmanager2_beta2/2.0.4+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 4edb1d8b25..8e70f7e725 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.3+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160201/google_deploymentmanager2_beta2/DeploymentManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/DeploymentManager) ... -* [deployments](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::Deployment) - * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::DeploymentPatchCall) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::DeploymentUpdateCall) -* [manifests](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::Manifest) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::ManifestListCall) -* [operations](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::Operation) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::OperationListCall) -* [resources](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::Resource) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::ResourceListCall) -* [types](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::Type) - * [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/api::TypeListCall) +* [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) @@ -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.3+20160201/google_deploymentmanager2_beta2/DeploymentManager)** +* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+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.3+20160201/google_deploymentmanager2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+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. @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-deploymentmanager2_beta2/2.0.3+20160201/google_deploymentmanager2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160201/google_deploymentmanager2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.3+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.4+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.3+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.4+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.3+20160201/google_deploymentmanager2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+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 7d3faf86fc..15467cfc04 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/deploymentmanager2_beta2/src/client.rs b/gen/deploymentmanager2_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/deploymentmanager2_beta2/src/client.rs +++ b/gen/deploymentmanager2_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/deploymentmanager2_beta2/src/lib.rs b/gen/deploymentmanager2_beta2/src/lib.rs index 1ff6bb153c..f4db0a7f7f 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.3+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Deployment Manager* *v2_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). diff --git a/gen/dfareporting2d8-cli/Cargo.toml b/gen/dfareporting2d8-cli/Cargo.toml index 27663f83b4..0bef04bdd5 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.3+20180830" +version = "2.0.4+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.3+20180830" +version = "2.0.4+20180830" diff --git a/gen/dfareporting2d8-cli/README.md b/gen/dfareporting2d8-cli/README.md index 4ba365ea42..9ea120302d 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.3*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *2.0.4*. ```bash dfareporting2d8 [options] diff --git a/gen/dfareporting2d8-cli/mkdocs.yml b/gen/dfareporting2d8-cli/mkdocs.yml index c9aa626ec2..1bb92790b0 100644 --- a/gen/dfareporting2d8-cli/mkdocs.yml +++ b/gen/dfareporting2d8-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v2.0.3+20180830 +site_name: dfareporting v2.0.4+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 ef7b64ee5f..cb54a161cc 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.3+20180830") + .version("2.0.4+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 2b6899dc7b..cceacbe464 100644 --- a/gen/dfareporting2d8/Cargo.toml +++ b/gen/dfareporting2d8/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting2d8" -version = "2.0.3+20180830" +version = "2.0.4+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.3+20180830" +documentation = "https://docs.rs/google-dfareporting2d8/2.0.4+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting2d8/README.md b/gen/dfareporting2d8/README.md index d17e33f0df..fdcd77a0f7 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.3+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.3*. +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*. 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.3+20180830/google_dfareporting2d8/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Account) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Ad) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGroupUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Browser) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::City) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Country) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Creative) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::File) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::InventoryItemListCall) -* [landing pages](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPage) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPageDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPageListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LandingPageUpdateCall) -* [languages](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Language) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Metro) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::MetroListCall) -* [mobile carriers](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Order) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Project) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Region) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Site) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Size) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::VideoFormatListCall) +* [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) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/api::ReportFileGetCall) +* [*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) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting2d8/2.0.4+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.3+20180830/google_dfareporting2d8/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d8/2.0.3+20180830/google_dfareporting2d8/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -266,17 +266,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +286,29 @@ Methods supporting uploads can do so using up to 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.3+20180830/google_dfareporting2d8/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting2d8/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20180830/google_dfareporting2d8/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting2d8/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d8/2.0.3+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.4+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.3+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.4+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.3+20180830/google_dfareporting2d8/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting2d8/2.0.4+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 c3d805076f..ee97e9c188 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dfareporting2d8/src/client.rs b/gen/dfareporting2d8/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dfareporting2d8/src/client.rs +++ b/gen/dfareporting2d8/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dfareporting2d8/src/lib.rs b/gen/dfareporting2d8/src/lib.rs index dd422e05d0..d6739f1a4b 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.3+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.3*. +//! 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*. //! //! Everything else about the *dfareporting* *v2d8* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dfareporting3-cli/Cargo.toml b/gen/dfareporting3-cli/Cargo.toml index 962de9c681..ce6041660d 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.3+20180830" +version = "2.0.4+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.3+20180830" +version = "2.0.4+20180830" diff --git a/gen/dfareporting3-cli/README.md b/gen/dfareporting3-cli/README.md index 6589751d72..a880666500 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.3*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *2.0.4*. ```bash dfareporting3 [options] diff --git a/gen/dfareporting3-cli/mkdocs.yml b/gen/dfareporting3-cli/mkdocs.yml index 33cd388ff8..e04aa305b7 100644 --- a/gen/dfareporting3-cli/mkdocs.yml +++ b/gen/dfareporting3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v2.0.3+20180830 +site_name: dfareporting v2.0.4+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 3eb3c5f6ff..9ff764b3ef 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.3+20180830") + .version("2.0.4+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 490a95ac3b..ef51adedd0 100644 --- a/gen/dfareporting3/Cargo.toml +++ b/gen/dfareporting3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3" -version = "2.0.3+20180830" +version = "2.0.4+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.3+20180830" +documentation = "https://docs.rs/google-dfareporting3/2.0.4+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3/README.md b/gen/dfareporting3/README.md index a7ecc45bbf..673af0f870 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.3+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.3*. +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*. 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.3+20180830/google_dfareporting3/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Account) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGroupUpdateCall) +* [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) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::City) - * [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Country) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::File) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Language) - * [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::MetroListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Order) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Project) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Region) - * [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Site) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Size) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::VideoFormatListCall) + * [*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) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/api::ReportFileGetCall) +* [*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) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3/2.0.4+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.3+20180830/google_dfareporting3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3/2.0.3+20180830/google_dfareporting3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -266,17 +266,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +286,29 @@ Methods supporting uploads can do so using up to 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.3+20180830/google_dfareporting3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20180830/google_dfareporting3/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3/2.0.3+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.4+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.3+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.4+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.3+20180830/google_dfareporting3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3/2.0.4+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 e28f3bdfc8..a5609e0823 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dfareporting3/src/client.rs b/gen/dfareporting3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dfareporting3/src/client.rs +++ b/gen/dfareporting3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dfareporting3/src/lib.rs b/gen/dfareporting3/src/lib.rs index 0dcf4134e0..539d16f905 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.3+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.3*. +//! 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*. //! //! Everything else about the *dfareporting* *v3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dfareporting3d2-cli/Cargo.toml b/gen/dfareporting3d2-cli/Cargo.toml index 1f7382e752..c5c745b4ff 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.3+20190531" +version = "2.0.4+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.3+20190531" +version = "2.0.4+20190531" diff --git a/gen/dfareporting3d2-cli/README.md b/gen/dfareporting3d2-cli/README.md index 84b31bf596..0afa4cb687 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.3*. +This documentation was generated from the *dfareporting* API at revision *20190531*. The CLI is at version *2.0.4*. ```bash dfareporting3d2 [options] diff --git a/gen/dfareporting3d2-cli/mkdocs.yml b/gen/dfareporting3d2-cli/mkdocs.yml index b70f3327fd..1703f7e8d3 100644 --- a/gen/dfareporting3d2-cli/mkdocs.yml +++ b/gen/dfareporting3d2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v2.0.3+20190531 +site_name: dfareporting v2.0.4+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 6a655fa580..194a00685f 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.3+20190531") + .version("2.0.4+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 e646a488ce..0bfc057154 100644 --- a/gen/dfareporting3d2/Cargo.toml +++ b/gen/dfareporting3d2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d2" -version = "2.0.3+20190531" +version = "2.0.4+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.3+20190531" +documentation = "https://docs.rs/google-dfareporting3d2/2.0.4+20190531" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3d2/README.md b/gen/dfareporting3d2/README.md index 1f1f7bfcb8..49dc1719e3 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.3+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.3*. +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*. 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.3+20190531/google_dfareporting3d2/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGroupUpdateCall) +* [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) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::City) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::File) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::VideoFormatListCall) + * [*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) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/api::ReportFileGetCall) +* [*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) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d2/2.0.4+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.3+20190531/google_dfareporting3d2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d2/2.0.3+20190531/google_dfareporting3d2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -268,17 +268,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +288,29 @@ Methods supporting uploads can do so using up to 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.3+20190531/google_dfareporting3d2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190531/google_dfareporting3d2/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d2/2.0.3+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.4+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.3+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.4+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.3+20190531/google_dfareporting3d2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d2/2.0.4+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 52036ab79d..952fe4ebf3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dfareporting3d2/src/client.rs b/gen/dfareporting3d2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dfareporting3d2/src/client.rs +++ b/gen/dfareporting3d2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dfareporting3d2/src/lib.rs b/gen/dfareporting3d2/src/lib.rs index 80f3678f70..e3c24fc7ea 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.3+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.3*. +//! 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*. //! //! Everything else about the *dfareporting* *v3d2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dfareporting3d3-cli/Cargo.toml b/gen/dfareporting3d3-cli/Cargo.toml index 3db905b083..8ee587d21b 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.3+20210210" +version = "2.0.4+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.3+20210210" +version = "2.0.4+20210210" diff --git a/gen/dfareporting3d3-cli/README.md b/gen/dfareporting3d3-cli/README.md index 5b7ac6ceb1..337b0a7f73 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.3*. +This documentation was generated from the *Dfareporting* API at revision *20210210*. The CLI is at version *2.0.4*. ```bash dfareporting3d3 [options] diff --git a/gen/dfareporting3d3-cli/mkdocs.yml b/gen/dfareporting3d3-cli/mkdocs.yml index b1be95e5ab..1f4ae2c143 100644 --- a/gen/dfareporting3d3-cli/mkdocs.yml +++ b/gen/dfareporting3d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v2.0.3+20210210 +site_name: Dfareporting v2.0.4+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 bf6cacac25..8dedac6959 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.3+20210210") + .version("2.0.4+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 f4fc65217f..4fb62dfad5 100644 --- a/gen/dfareporting3d3/Cargo.toml +++ b/gen/dfareporting3d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d3" -version = "2.0.3+20210210" +version = "2.0.4+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.3+20210210" +documentation = "https://docs.rs/google-dfareporting3d3/2.0.4+20210210" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3d3/README.md b/gen/dfareporting3d3/README.md index d37c595514..1db383a5fb 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.3+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.3*. +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*. 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.3+20210210/google_dfareporting3d3/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGroupUpdateCall) +* [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) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::City) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::File) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::VideoFormatListCall) + * [*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) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/api::ReportFileGetCall) +* [*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) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d3/2.0.4+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.3+20210210/google_dfareporting3d3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d3/2.0.3+20210210/google_dfareporting3d3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -266,17 +266,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +286,29 @@ Methods supporting uploads can do so using up to 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.3+20210210/google_dfareporting3d3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210210/google_dfareporting3d3/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d3/2.0.3+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.4+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.3+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.4+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.3+20210210/google_dfareporting3d3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d3/2.0.4+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 6e78621001..89a39a1ff9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dfareporting3d3/src/client.rs b/gen/dfareporting3d3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dfareporting3d3/src/client.rs +++ b/gen/dfareporting3d3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dfareporting3d3/src/lib.rs b/gen/dfareporting3d3/src/lib.rs index 6952df0421..e62873049c 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.3+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.3*. +//! 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*. //! //! Everything else about the *Dfareporting* *v3d3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dfareporting3d4-cli/Cargo.toml b/gen/dfareporting3d4-cli/Cargo.toml index e014cf668b..f855d3d990 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.3+20210210" +version = "2.0.4+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.3+20210210" +version = "2.0.4+20210210" diff --git a/gen/dfareporting3d4-cli/README.md b/gen/dfareporting3d4-cli/README.md index 5777b3bdc6..4bd430695f 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.3*. +This documentation was generated from the *Dfareporting* API at revision *20210210*. The CLI is at version *2.0.4*. ```bash dfareporting3d4 [options] diff --git a/gen/dfareporting3d4-cli/mkdocs.yml b/gen/dfareporting3d4-cli/mkdocs.yml index 2936783e04..187ea15895 100644 --- a/gen/dfareporting3d4-cli/mkdocs.yml +++ b/gen/dfareporting3d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v2.0.3+20210210 +site_name: Dfareporting v2.0.4+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 1b84ea418b..2eb24c24fa 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.3+20210210") + .version("2.0.4+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 9e14404997..90aa41d0c5 100644 --- a/gen/dfareporting3d4/Cargo.toml +++ b/gen/dfareporting3d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d4" -version = "2.0.3+20210210" +version = "2.0.4+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.3+20210210" +documentation = "https://docs.rs/google-dfareporting3d4/2.0.4+20210210" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3d4/README.md b/gen/dfareporting3d4/README.md index f0bd86bf81..9d8885527d 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.3+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.3*. +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*. 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.3+20210210/google_dfareporting3d4/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGroupUpdateCall) +* [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) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::City) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeUpdateCall) -* [custom events](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CustomEvent) - * [*batchinsert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CustomEventBatchinsertCall) -* [dimension values](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::File) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::VideoFormatListCall) + * [*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) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/api::ReportFileGetCall) +* [*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) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d4/2.0.4+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.3+20210210/google_dfareporting3d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d4/2.0.3+20210210/google_dfareporting3d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -268,17 +268,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +288,29 @@ Methods supporting uploads can do so using up to 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.3+20210210/google_dfareporting3d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210210/google_dfareporting3d4/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d4/2.0.3+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.4+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.3+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.4+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.3+20210210/google_dfareporting3d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d4/2.0.4+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 176f9765b8..370244e0d0 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dfareporting3d4/src/client.rs b/gen/dfareporting3d4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dfareporting3d4/src/client.rs +++ b/gen/dfareporting3d4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dfareporting3d4/src/lib.rs b/gen/dfareporting3d4/src/lib.rs index 972c19b8d9..f26ea104b2 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.3+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.3*. +//! 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*. //! //! Everything else about the *Dfareporting* *v3d4* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dialogflow2-cli/Cargo.toml b/gen/dialogflow2-cli/Cargo.toml index a11d99d8eb..ef34fd722b 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/dialogflow2-cli/README.md b/gen/dialogflow2-cli/README.md index ac18165181..1334e346b9 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.3*. +This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash dialogflow2 [options] diff --git a/gen/dialogflow2-cli/mkdocs.yml b/gen/dialogflow2-cli/mkdocs.yml index 73273bdacf..5ceb7e1191 100644 --- a/gen/dialogflow2-cli/mkdocs.yml +++ b/gen/dialogflow2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v2.0.3+20210329 +site_name: Dialogflow v2.0.4+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 f6688a1e10..876d2ffd34 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.3+20210329") + .version("2.0.4+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 9df484dcb5..96010cb93f 100644 --- a/gen/dialogflow2/Cargo.toml +++ b/gen/dialogflow2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-dialogflow2/2.0.4+20210329" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dialogflow2/README.md b/gen/dialogflow2/README.md index b8b927bbc0..2cab3af1cb 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.3+20210329*, where *20210329* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_dialogflow2/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/Dialogflow) ... * projects - * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEntityTypePatchCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentListCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAgentUpdateFulfillmentCall), [*answer records list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectAnswerRecordPatchCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationProfilePatchCall), [*conversations complete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationListCall), [*conversations messages list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*delete agent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations answer records list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationProfilePatchCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationListCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations delete agent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationDeleteAgentCall), [*locations get agent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBasePatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/api::ProjectSetAgentCall) + * [*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) @@ -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.3+20210329/google_dialogflow2/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow2/2.0.4+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.3+20210329/google_dialogflow2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2/2.0.3+20210329/google_dialogflow2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -168,17 +168,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-dialogflow2/2.0.3+20210329/google_dialogflow2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_dialogflow2/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2/2.0.3+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.4+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.3+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.4+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.3+20210329/google_dialogflow2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow2/2.0.4+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 388f0a354c..d04d80b5b9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dialogflow2/src/client.rs b/gen/dialogflow2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dialogflow2/src/client.rs +++ b/gen/dialogflow2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dialogflow2/src/lib.rs b/gen/dialogflow2/src/lib.rs index 70999eaf3f..65d3cf5c83 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.3+20210329*, where *20210329* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Dialogflow* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). diff --git a/gen/dialogflow2_beta1-cli/Cargo.toml b/gen/dialogflow2_beta1-cli/Cargo.toml index c877dbd2c3..6db25460b5 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/dialogflow2_beta1-cli/README.md b/gen/dialogflow2_beta1-cli/README.md index 57b6ecffb3..33e430e43b 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.3*. +This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash dialogflow2-beta1 [options] diff --git a/gen/dialogflow2_beta1-cli/mkdocs.yml b/gen/dialogflow2_beta1-cli/mkdocs.yml index f8487f86d8..2474d072cc 100644 --- a/gen/dialogflow2_beta1-cli/mkdocs.yml +++ b/gen/dialogflow2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v2.0.3+20210329 +site_name: Dialogflow v2.0.4+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 2b7e6ff452..cb17c42b07 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.3+20210329") + .version("2.0.4+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 7bfffb5659..2f85e38dee 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-dialogflow2_beta1/2.0.4+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 196691b4c7..9710bead8d 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.3+20210329*, where *20210329* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_dialogflow2_beta1/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/Dialogflow) ... * projects - * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypePatchCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentListCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAgentUpdateFulfillmentCall), [*answer records get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordGetCall), [*answer records list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordPatchCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationProfilePatchCall), [*conversations complete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationListCall), [*conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationMessageBatchCreateCall), [*conversations messages list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions compile*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionCompileCall), [*conversations participants suggestions list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionListCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations answer records get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordGetCall), [*locations answer records list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfilePatchCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationListCall), [*locations conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationMessageBatchCreateCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationDeleteAgentCall), [*locations get agent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBasePatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/api::ProjectSetAgentCall) + * [*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) @@ -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.3+20210329/google_dialogflow2_beta1/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow2_beta1/2.0.4+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.3+20210329/google_dialogflow2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow2_beta1/2.0.4+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. @@ -170,17 +170,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +190,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2_beta1/2.0.3+20210329/google_dialogflow2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow2_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_dialogflow2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow2_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2_beta1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_dialogflow2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow2_beta1/2.0.4+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 f0f2855a6e..15c826e6dd 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dialogflow2_beta1/src/client.rs b/gen/dialogflow2_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dialogflow2_beta1/src/client.rs +++ b/gen/dialogflow2_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dialogflow2_beta1/src/lib.rs b/gen/dialogflow2_beta1/src/lib.rs index 2fd24f2347..9a45ca83d7 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.3+20210329*, where *20210329* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Dialogflow* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). diff --git a/gen/dialogflow3-cli/Cargo.toml b/gen/dialogflow3-cli/Cargo.toml index 6e334c7a15..1433f0ab9a 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/dialogflow3-cli/README.md b/gen/dialogflow3-cli/README.md index 8d9956ba20..9ab25c4be4 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.3*. +This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash dialogflow3 [options] diff --git a/gen/dialogflow3-cli/mkdocs.yml b/gen/dialogflow3-cli/mkdocs.yml index da403729db..3aac19c481 100644 --- a/gen/dialogflow3-cli/mkdocs.yml +++ b/gen/dialogflow3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v2.0.3+20210329 +site_name: Dialogflow v2.0.4+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 371af7d989..ea2f67b56b 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.3+20210329") + .version("2.0.4+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 9777be6070..297a0d4dc4 100644 --- a/gen/dialogflow3/Cargo.toml +++ b/gen/dialogflow3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow3" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-dialogflow3/2.0.4+20210329" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dialogflow3/README.md b/gen/dialogflow3/README.md index d6407409f4..9f7d987491 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.3+20210329*, where *20210329* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_dialogflow3/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/Dialogflow) ... * projects - * [*locations agents create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentCreateCall), [*locations agents delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentDeleteCall), [*locations agents entity types create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agents entity types delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agents entity types get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeGetCall), [*locations agents entity types list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeListCall), [*locations agents entity types patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypePatchCall), [*locations agents environments create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agents environments delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agents environments experiments create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentCreateCall), [*locations agents environments experiments delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentDeleteCall), [*locations agents environments experiments get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentGetCall), [*locations agents environments experiments list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentListCall), [*locations agents environments experiments patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentPatchCall), [*locations agents environments experiments start*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStartCall), [*locations agents environments experiments stop*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStopCall), [*locations agents environments get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentGetCall), [*locations agents environments list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentListCall), [*locations agents environments lookup environment history*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall), [*locations agents environments patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agents environments sessions detect intent*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionDetectIntentCall), [*locations agents environments sessions entity types create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall), [*locations agents environments sessions entity types delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall), [*locations agents environments sessions entity types get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeGetCall), [*locations agents environments sessions entity types list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeListCall), [*locations agents environments sessions entity types patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypePatchCall), [*locations agents environments sessions fulfill intent*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionFulfillIntentCall), [*locations agents environments sessions match intent*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionMatchIntentCall), [*locations agents export*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentExportCall), [*locations agents flows create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowCreateCall), [*locations agents flows delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowDeleteCall), [*locations agents flows get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowGetCall), [*locations agents flows get validation result*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowGetValidationResultCall), [*locations agents flows list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowListCall), [*locations agents flows pages create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageCreateCall), [*locations agents flows pages delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageDeleteCall), [*locations agents flows pages get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageGetCall), [*locations agents flows pages list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageListCall), [*locations agents flows pages patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPagePatchCall), [*locations agents flows patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPatchCall), [*locations agents flows train*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTrainCall), [*locations agents flows transition route groups create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupCreateCall), [*locations agents flows transition route groups delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupDeleteCall), [*locations agents flows transition route groups get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupGetCall), [*locations agents flows transition route groups list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupListCall), [*locations agents flows transition route groups patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupPatchCall), [*locations agents flows validate*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowValidateCall), [*locations agents flows versions create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionCreateCall), [*locations agents flows versions delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionDeleteCall), [*locations agents flows versions get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionGetCall), [*locations agents flows versions list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionListCall), [*locations agents flows versions load*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionLoadCall), [*locations agents flows versions patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionPatchCall), [*locations agents get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentGetCall), [*locations agents get validation result*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentGetValidationResultCall), [*locations agents intents create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentIntentCreateCall), [*locations agents intents delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentIntentDeleteCall), [*locations agents intents get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentIntentGetCall), [*locations agents intents list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentIntentListCall), [*locations agents intents patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentIntentPatchCall), [*locations agents list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentListCall), [*locations agents patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentPatchCall), [*locations agents restore*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentRestoreCall), [*locations agents sessions detect intent*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agents sessions entity types create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agents sessions entity types delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agents sessions entity types get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agents sessions entity types list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agents sessions entity types patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agents sessions fulfill intent*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionFulfillIntentCall), [*locations agents sessions match intent*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentSessionMatchIntentCall), [*locations agents test cases batch delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchDeleteCall), [*locations agents test cases batch run*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchRunCall), [*locations agents test cases calculate coverage*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseCalculateCoverageCall), [*locations agents test cases create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseCreateCall), [*locations agents test cases export*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseExportCall), [*locations agents test cases get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseGetCall), [*locations agents test cases import*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseImportCall), [*locations agents test cases list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseListCall), [*locations agents test cases patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCasePatchCall), [*locations agents test cases results get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseResultGetCall), [*locations agents test cases results list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseResultListCall), [*locations agents test cases run*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseRunCall), [*locations agents validate*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentValidateCall), [*locations agents webhooks create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookCreateCall), [*locations agents webhooks delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookDeleteCall), [*locations agents webhooks get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookGetCall), [*locations agents webhooks list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookListCall), [*locations agents webhooks patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookPatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationOperationListCall), [*locations security settings create*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingCreateCall), [*locations security settings delete*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingDeleteCall), [*locations security settings get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingGetCall), [*locations security settings list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingListCall), [*locations security settings patch*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingPatchCall), [*operations cancel*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/api::ProjectOperationListCall) + * [*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) @@ -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.3+20210329/google_dialogflow3/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow3/2.0.4+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.3+20210329/google_dialogflow3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow3/2.0.3+20210329/google_dialogflow3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-dialogflow3/2.0.3+20210329/google_dialogflow3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_dialogflow3/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow3/2.0.3+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.4+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.3+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.4+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.3+20210329/google_dialogflow3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow3/2.0.4+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 297ef82ffe..bfb061cadd 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dialogflow3/src/client.rs b/gen/dialogflow3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dialogflow3/src/client.rs +++ b/gen/dialogflow3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dialogflow3/src/lib.rs b/gen/dialogflow3/src/lib.rs index 61ad15e6d2..a6bb1c918a 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.3+20210329*, where *20210329* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Dialogflow* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). diff --git a/gen/digitalassetlinks1-cli/Cargo.toml b/gen/digitalassetlinks1-cli/Cargo.toml index be2939dfde..dafc1575a8 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/digitalassetlinks1-cli/README.md b/gen/digitalassetlinks1-cli/README.md index 876b4e82c1..60e13307e7 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.3*. +This documentation was generated from the *digitalassetlinks* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash digitalassetlinks1 [options] diff --git a/gen/digitalassetlinks1-cli/mkdocs.yml b/gen/digitalassetlinks1-cli/mkdocs.yml index 330e1a0ef5..8cbc345a83 100644 --- a/gen/digitalassetlinks1-cli/mkdocs.yml +++ b/gen/digitalassetlinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: digitalassetlinks v2.0.3+20210322 +site_name: digitalassetlinks v2.0.4+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 abfe10c53f..332bf165b3 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.3+20210322") + .version("2.0.4+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 198c41c658..1a3fb1bb70 100644 --- a/gen/digitalassetlinks1/Cargo.toml +++ b/gen/digitalassetlinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-digitalassetlinks1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-digitalassetlinks1/2.0.4+20210322" license = "MIT" keywords = ["digitalassetlinks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/digitalassetlinks1/README.md b/gen/digitalassetlinks1/README.md index 7dd8b69a16..dd83108725 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.3+20210322*, where *20210322* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_digitalassetlinks1/Digitalassetlinks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/Digitalassetlinks) ... * assetlinks - * [*check*](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/api::AssetlinkCheckCall) -* [statements](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/api::Statement) - * [*list*](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/api::StatementListCall) + * [*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) @@ -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.3+20210322/google_digitalassetlinks1/Digitalassetlinks)** +* **[Hub](https://docs.rs/google-digitalassetlinks1/2.0.4+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.3+20210322/google_digitalassetlinks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/client::Part)** + * **[Parts](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-digitalassetlinks1/2.0.3+20210322/google_digitalassetlinks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-digitalassetlinks1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_digitalassetlinks1/client::RequestValue) and -[decodable](https://docs.rs/google-digitalassetlinks1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-digitalassetlinks1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_digitalassetlinks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-digitalassetlinks1/2.0.4+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 8a2b4fb185..f9c92c491c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/digitalassetlinks1/src/client.rs b/gen/digitalassetlinks1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/digitalassetlinks1/src/client.rs +++ b/gen/digitalassetlinks1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/digitalassetlinks1/src/lib.rs b/gen/digitalassetlinks1/src/lib.rs index 42125f5a79..6ee19b721e 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.3+20210322*, where *20210322* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *digitalassetlinks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/digital-asset-links/). diff --git a/gen/discovery1-cli/Cargo.toml b/gen/discovery1-cli/Cargo.toml index 6de4615c5a..fc75d38a04 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.3+20200806" +version = "2.0.4+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.3+20200806" +version = "2.0.4+20200806" diff --git a/gen/discovery1-cli/README.md b/gen/discovery1-cli/README.md index a7581ebd77..630811df89 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.3*. +This documentation was generated from the *discovery* API at revision *20200806*. The CLI is at version *2.0.4*. ```bash discovery1 [options] diff --git a/gen/discovery1-cli/mkdocs.yml b/gen/discovery1-cli/mkdocs.yml index 7674062a2b..dae5f84ca9 100644 --- a/gen/discovery1-cli/mkdocs.yml +++ b/gen/discovery1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: discovery v2.0.3+20200806 +site_name: discovery v2.0.4+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 1673d84f95..f4ccee9c25 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.3+20200806") + .version("2.0.4+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 ce5096b1ec..dc76b24348 100644 --- a/gen/discovery1/Cargo.toml +++ b/gen/discovery1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-discovery1" -version = "2.0.3+20200806" +version = "2.0.4+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.3+20200806" +documentation = "https://docs.rs/google-discovery1/2.0.4+20200806" license = "MIT" keywords = ["discovery", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/discovery1/README.md b/gen/discovery1/README.md index 3ffb2ae68e..b7b082bd32 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.3+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200806/google_discovery1/Discovery) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/Discovery) ... * apis - * [*get rest*](https://docs.rs/google-discovery1/2.0.3+20200806/google_discovery1/api::ApiGetRestCall) and [*list*](https://docs.rs/google-discovery1/2.0.3+20200806/google_discovery1/api::ApiListCall) + * [*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) @@ -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.3+20200806/google_discovery1/Discovery)** +* **[Hub](https://docs.rs/google-discovery1/2.0.4+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.3+20200806/google_discovery1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/2.0.3+20200806/google_discovery1/client::CallBuilder) -* **[Resources](https://docs.rs/google-discovery1/2.0.3+20200806/google_discovery1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-discovery1/2.0.3+20200806/google_discovery1/client::Part)** + * **[Parts](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-discovery1/2.0.3+20200806/google_discovery1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-discovery1/2.0.3+20200806/google_discovery1/client::Delegate) to the -[Method Builder](https://docs.rs/google-discovery1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200806/google_discovery1/client::RequestValue) and -[decodable](https://docs.rs/google-discovery1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-discovery1/2.0.3+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.4+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.3+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.4+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.3+20200806/google_discovery1/client::RequestValue) are moved +* [request values](https://docs.rs/google-discovery1/2.0.4+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 13eec3d432..1fb7d25b81 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/discovery1/src/client.rs b/gen/discovery1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/discovery1/src/client.rs +++ b/gen/discovery1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/discovery1/src/lib.rs b/gen/discovery1/src/lib.rs index e089a4d90c..5de6433330 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.3+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *discovery* *v1* API can be found at the //! [official documentation site](https://developers.google.com/discovery/). diff --git a/gen/displayvideo1-cli/Cargo.toml b/gen/displayvideo1-cli/Cargo.toml index 153361ed02..6644c7bcb5 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/displayvideo1-cli/README.md b/gen/displayvideo1-cli/README.md index 1ece8cc7fd..e92567b23a 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.3*. +This documentation was generated from the *Display Video* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash displayvideo1 [options] diff --git a/gen/displayvideo1-cli/mkdocs.yml b/gen/displayvideo1-cli/mkdocs.yml index 3a88055c4f..a59c7fcd92 100644 --- a/gen/displayvideo1-cli/mkdocs.yml +++ b/gen/displayvideo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Display Video v2.0.3+20210325 +site_name: Display Video v2.0.4+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 84d8ad42f8..34615b6b6a 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.3+20210325") + .version("2.0.4+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 d2478f3b35..8833630e5a 100644 --- a/gen/displayvideo1/Cargo.toml +++ b/gen/displayvideo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-displayvideo1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-displayvideo1/2.0.4+20210325" license = "MIT" keywords = ["displayvideo", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/displayvideo1/README.md b/gen/displayvideo1/README.md index 3d6703b4c8..78362fd0b5 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.3+20210325*, where *20210325* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_displayvideo1/DisplayVideo) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/DisplayVideo) ... -* [advertisers](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::Advertiser) - * [*assets upload*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall), [*audit*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserAuditCall), [*bulk edit advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall), [*bulk list advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserBulkListAdvertiserAssignedTargetingOptionCall), [*campaigns bulk list campaign assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall), [*campaigns create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignCreateCall), [*campaigns delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignDeleteCall), [*campaigns get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignGetCall), [*campaigns list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignListCall), [*campaigns patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignPatchCall), [*campaigns targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall), [*campaigns targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall), [*channels create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserChannelSiteReplaceCall), [*create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCreateCall), [*creatives create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCreativeCreateCall), [*creatives delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCreativeDeleteCall), [*creatives get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCreativeGetCall), [*creatives list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCreativeListCall), [*creatives patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserCreativePatchCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserGetCall), [*insertion orders bulk list insertion order assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall), [*insertion orders create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderCreateCall), [*insertion orders delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderDeleteCall), [*insertion orders get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderGetCall), [*insertion orders list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderListCall), [*insertion orders patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderPatchCall), [*insertion orders targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall), [*insertion orders targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall), [*line items bulk edit line item assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall), [*line items bulk list line item assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall), [*line items create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemCreateCall), [*line items delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemDeleteCall), [*line items generate default*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemGenerateDefaultCall), [*line items get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemGetCall), [*line items list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemListCall), [*line items patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemPatchCall), [*line items targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall), [*line items targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall), [*line items targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall), [*line items targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall), [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserListCall), [*location lists assigned locations bulk edit*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationBulkEditCall), [*location lists assigned locations create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationCreateCall), [*location lists assigned locations delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationDeleteCall), [*location lists assigned locations list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationListCall), [*location lists create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListCreateCall), [*location lists get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListGetCall), [*location lists list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListListCall), [*location lists patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserLocationListPatchCall), [*manual triggers activate*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserManualTriggerActivateCall), [*manual triggers create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserManualTriggerCreateCall), [*manual triggers deactivate*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserManualTriggerDeactivateCall), [*manual triggers get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserManualTriggerGetCall), [*manual triggers list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserManualTriggerListCall), [*manual triggers patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserManualTriggerPatchCall), [*negative keyword lists create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListCreateCall), [*negative keyword lists delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListDeleteCall), [*negative keyword lists get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListGetCall), [*negative keyword lists list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListListCall), [*negative keyword lists negative keywords bulk edit*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall), [*negative keyword lists negative keywords create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordCreateCall), [*negative keyword lists negative keywords delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordDeleteCall), [*negative keyword lists negative keywords list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordListCall), [*negative keyword lists negative keywords replace*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordReplaceCall), [*negative keyword lists patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListPatchCall), [*patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserPatchCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionListCall) -* [combined audiences](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CombinedAudience) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CombinedAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CombinedAudienceListCall) -* [custom bidding algorithms](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CustomBiddingAlgorithm) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CustomBiddingAlgorithmGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CustomBiddingAlgorithmListCall) -* [custom lists](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CustomList) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CustomListGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::CustomListListCall) -* [first and third party audiences](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::FirstAndThirdPartyAudience) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::FirstAndThirdPartyAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::FirstAndThirdPartyAudienceListCall) -* [floodlight groups](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::FloodlightGroup) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::FloodlightGroupGetCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::FloodlightGroupPatchCall) -* [google audiences](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::GoogleAudience) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::GoogleAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::GoogleAudienceListCall) -* [inventory source groups](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroup) - * [*assigned inventory sources bulk edit*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceBulkEditCall), [*assigned inventory sources create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceCreateCall), [*assigned inventory sources delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceDeleteCall), [*assigned inventory sources list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceListCall), [*create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupCreateCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupListCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGroupPatchCall) -* [inventory sources](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySource) - * [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::InventorySourceListCall) +* [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) * media - * [*download*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::MediaDownloadCall) -* [partners](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::Partner) - * [*bulk edit partner assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerBulkEditPartnerAssignedTargetingOptionCall), [*channels create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerChannelSiteReplaceCall), [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerListCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionListCall) + * [*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) * sdfdownloadtasks - * [*create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::SdfdownloadtaskCreateCall) and [*operations get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::SdfdownloadtaskOperationGetCall) + * [*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) * targeting types - * [*targeting options get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionGetCall), [*targeting options list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionListCall) and [*targeting options search*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionSearchCall) -* [users](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::User) - * [*bulk edit assigned user roles*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::UserBulkEditAssignedUserRoleCall), [*create*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::UserCreateCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::UserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::UserGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::UserListCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::UserPatchCall) + * [*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) Upload supported by ... -* [*assets upload advertisers*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall) +* [*assets upload advertisers*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall) Download supported by ... -* [*download media*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-displayvideo1/2.0.4+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.3+20210325/google_displayvideo1/DisplayVideo)** +* **[Hub](https://docs.rs/google-displayvideo1/2.0.4+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.3+20210325/google_displayvideo1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/client::CallBuilder) -* **[Resources](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/client::Part)** + * **[Parts](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-displayvideo1/2.0.3+20210325/google_displayvideo1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -242,17 +242,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-displayvideo1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +262,29 @@ Methods supporting uploads can do so using up to 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.3+20210325/google_displayvideo1/client::Delegate) to the -[Method Builder](https://docs.rs/google-displayvideo1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_displayvideo1/client::RequestValue) and -[decodable](https://docs.rs/google-displayvideo1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-displayvideo1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_displayvideo1/client::RequestValue) are moved +* [request values](https://docs.rs/google-displayvideo1/2.0.4+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 ee0f19a3ac..f651ae6a7d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/displayvideo1/src/client.rs b/gen/displayvideo1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/displayvideo1/src/client.rs +++ b/gen/displayvideo1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/displayvideo1/src/lib.rs b/gen/displayvideo1/src/lib.rs index 8138899e79..41a23100d8 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.3+20210325*, where *20210325* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Display Video* *v1* API can be found at the //! [official documentation site](https://developers.google.com/display-video/). diff --git a/gen/dlp2-cli/Cargo.toml b/gen/dlp2-cli/Cargo.toml index 61986bac15..4e911057bd 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/dlp2-cli/README.md b/gen/dlp2-cli/README.md index 750af28ccb..962ead4b51 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.3*. +This documentation was generated from the *DLP* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash dlp2 [options] diff --git a/gen/dlp2-cli/mkdocs.yml b/gen/dlp2-cli/mkdocs.yml index 6ddd91970e..ca90e01c5a 100644 --- a/gen/dlp2-cli/mkdocs.yml +++ b/gen/dlp2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v2.0.3+20210326 +site_name: DLP v2.0.4+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 4c6eb11d9f..69dba97e49 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.3+20210326") + .version("2.0.4+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 597b162660..b4ce24c9a3 100644 --- a/gen/dlp2/Cargo.toml +++ b/gen/dlp2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-dlp2/2.0.4+20210326" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dlp2/README.md b/gen/dlp2/README.md index 1060ebdf71..b8ed951931 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.3+20210326*, where *20210326* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_dlp2/DLP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/DLP) ... * info types - * [*list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::InfoTypeListCall) + * [*list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::InfoTypeListCall) * locations - * [*info types list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::LocationInfoTypeListCall) + * [*info types list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::LocationInfoTypeListCall) * organizations - * [*deidentify templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationDeidentifyTemplatePatchCall), [*inspect templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationInspectTemplatePatchCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplatePatchCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationDlpJobListCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationInspectTemplatePatchCall), [*locations job triggers create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationJobTriggerGetCall), [*locations job triggers list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::OrganizationStoredInfoTypePatchCall) + * [*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) * projects - * [*content deidentify*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectContentDeidentifyCall), [*content inspect*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectContentInspectCall), [*content reidentify*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectContentReidentifyCall), [*deidentify templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDeidentifyTemplatePatchCall), [*dlp jobs cancel*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDlpJobCancelCall), [*dlp jobs create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDlpJobCreateCall), [*dlp jobs delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDlpJobDeleteCall), [*dlp jobs get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDlpJobGetCall), [*dlp jobs list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectDlpJobListCall), [*image redact*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectImageRedactCall), [*inspect templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectInspectTemplatePatchCall), [*job triggers activate*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectJobTriggerActivateCall), [*job triggers create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectJobTriggerCreateCall), [*job triggers delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectJobTriggerDeleteCall), [*job triggers get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectJobTriggerGetCall), [*job triggers list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectJobTriggerListCall), [*job triggers patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectJobTriggerPatchCall), [*locations content deidentify*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationContentDeidentifyCall), [*locations content inspect*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationContentInspectCall), [*locations content reidentify*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationContentReidentifyCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplatePatchCall), [*locations dlp jobs cancel*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobCancelCall), [*locations dlp jobs create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobCreateCall), [*locations dlp jobs delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobDeleteCall), [*locations dlp jobs finish*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobFinishCall), [*locations dlp jobs get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobGetCall), [*locations dlp jobs hybrid inspect*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobHybridInspectCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationDlpJobListCall), [*locations image redact*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationImageRedactCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationInspectTemplatePatchCall), [*locations job triggers activate*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerActivateCall), [*locations job triggers create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerGetCall), [*locations job triggers hybrid inspect*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerHybridInspectCall), [*locations job triggers list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/api::ProjectStoredInfoTypePatchCall) + * [*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) @@ -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.3+20210326/google_dlp2/DLP)** +* **[Hub](https://docs.rs/google-dlp2/2.0.4+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.3+20210326/google_dlp2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/client::Part)** + * **[Parts](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2/2.0.3+20210326/google_dlp2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -157,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-dlp2/2.0.3+20210326/google_dlp2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dlp2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_dlp2/client::RequestValue) and -[decodable](https://docs.rs/google-dlp2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dlp2/2.0.3+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.4+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.3+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.4+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.3+20210326/google_dlp2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dlp2/2.0.4+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 86aca8143a..fb8bfef3e1 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dlp2/src/client.rs b/gen/dlp2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dlp2/src/client.rs +++ b/gen/dlp2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dlp2/src/lib.rs b/gen/dlp2/src/lib.rs index d6664abdd2..7f96ae030f 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.3+20210326*, where *20210326* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *DLP* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). diff --git a/gen/dlp2_beta1-cli/Cargo.toml b/gen/dlp2_beta1-cli/Cargo.toml index d534663260..bbca4965bd 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.3+20171205" +version = "2.0.4+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.3+20171205" +version = "2.0.4+20171205" diff --git a/gen/dlp2_beta1-cli/README.md b/gen/dlp2_beta1-cli/README.md index 509a62bf54..b035f28d42 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.3*. +This documentation was generated from the *DLP* API at revision *20171205*. The CLI is at version *2.0.4*. ```bash dlp2-beta1 [options] diff --git a/gen/dlp2_beta1-cli/mkdocs.yml b/gen/dlp2_beta1-cli/mkdocs.yml index 16b53dd3cb..28e87c9ada 100644 --- a/gen/dlp2_beta1-cli/mkdocs.yml +++ b/gen/dlp2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v2.0.3+20171205 +site_name: DLP v2.0.4+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 88a4deec50..4ddf900a47 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.3+20171205") + .version("2.0.4+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 8fe159aa30..d5d80af3b9 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.3+20171205" +version = "2.0.4+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.3+20171205" +documentation = "https://docs.rs/google-dlp2_beta1/2.0.4+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 a7e1c54cac..cc0d6dd86f 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.3+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20171205/google_dlp2_beta1/DLP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/DLP) ... * content - * [*deidentify*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::ContentDeidentifyCall), [*inspect*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::ContentInspectCall) and [*redact*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::ContentRedactCall) + * [*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) * data source - * [*analyze*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::DataSourceAnalyzeCall) + * [*analyze*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::DataSourceAnalyzeCall) * inspect - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::InspectOperationCancelCall), [*operations create*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::InspectOperationCreateCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::InspectOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::InspectOperationGetCall), [*operations list*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::InspectOperationListCall) and [*results findings list*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::InspectResultFindingListCall) + * [*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) * risk analysis - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::RiskAnalysiOperationCancelCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::RiskAnalysiOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::RiskAnalysiOperationGetCall) and [*operations list*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::RiskAnalysiOperationListCall) + * [*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) * root categories - * [*info types list*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::RootCategoryInfoTypeListCall) and [*list*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/api::RootCategoryListCall) + * [*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) @@ -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.3+20171205/google_dlp2_beta1/DLP)** +* **[Hub](https://docs.rs/google-dlp2_beta1/2.0.4+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.3+20171205/google_dlp2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dlp2_beta1/2.0.4+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. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-dlp2_beta1/2.0.3+20171205/google_dlp2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dlp2_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20171205/google_dlp2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-dlp2_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dlp2_beta1/2.0.3+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.4+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.3+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.4+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.3+20171205/google_dlp2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dlp2_beta1/2.0.4+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 7778e97a07..fe76d82658 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dlp2_beta1/src/client.rs b/gen/dlp2_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dlp2_beta1/src/client.rs +++ b/gen/dlp2_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dlp2_beta1/src/lib.rs b/gen/dlp2_beta1/src/lib.rs index d8e2b2e840..4ecc053dd0 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.3+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *DLP* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). diff --git a/gen/dns1-cli/Cargo.toml b/gen/dns1-cli/Cargo.toml index b9370d7aba..5c1204adbb 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/dns1-cli/README.md b/gen/dns1-cli/README.md index 3fd761b4a7..e5b487e98f 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.3*. +This documentation was generated from the *Dns* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash dns1 [options] diff --git a/gen/dns1-cli/mkdocs.yml b/gen/dns1-cli/mkdocs.yml index c71fd44f66..1401eb89f1 100644 --- a/gen/dns1-cli/mkdocs.yml +++ b/gen/dns1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dns v2.0.3+20210319 +site_name: Dns v2.0.4+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 20f1b65965..d09671a145 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.3+20210319") + .version("2.0.4+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 f279b33fe6..806d5e506f 100644 --- a/gen/dns1/Cargo.toml +++ b/gen/dns1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dns1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-dns1/2.0.4+20210319" license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dns1/README.md b/gen/dns1/README.md index 419dd55059..e3d339ab54 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.3+20210319*, where *20210319* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_dns1/Dns) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/Dns) ... -* [changes](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::Change) - * [*create*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ChangeListCall) -* [dns keys](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::DnsKey) - * [*get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::DnsKeyListCall) +* [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) * managed zone operations - * [*get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneOperationListCall) -* [managed zones](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZone) - * [*create*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ManagedZoneUpdateCall) -* [policies](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::Policy) - * [*create*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::PolicyGetCall), [*list*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::PolicyListCall), [*patch*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::PolicyUpdateCall) -* [projects](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::Project) - * [*get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ProjectGetCall), [*managed zones rrsets create*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ProjectManagedZoneRrsetCreateCall), [*managed zones rrsets delete*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ProjectManagedZoneRrsetDeleteCall), [*managed zones rrsets get*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ProjectManagedZoneRrsetGetCall) and [*managed zones rrsets patch*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ProjectManagedZoneRrsetPatchCall) -* [resource record sets](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ResourceRecordSet) - * [*list*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/api::ResourceRecordSetListCall) + * [*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) @@ -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.3+20210319/google_dns1/Dns)** +* **[Hub](https://docs.rs/google-dns1/2.0.4+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.3+20210319/google_dns1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/client::Part)** + * **[Parts](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dns1/2.0.3+20210319/google_dns1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-dns1/2.0.3+20210319/google_dns1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dns1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_dns1/client::RequestValue) and -[decodable](https://docs.rs/google-dns1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dns1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_dns1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dns1/2.0.4+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 c6bfeb0d67..12d7f58579 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/dns1/src/client.rs b/gen/dns1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/dns1/src/client.rs +++ b/gen/dns1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/dns1/src/lib.rs b/gen/dns1/src/lib.rs index acbb30eb55..cb41cabea8 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.3+20210319*, where *20210319* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Dns* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dns/docs). diff --git a/gen/docs1-cli/Cargo.toml b/gen/docs1-cli/Cargo.toml index e9f770dd48..f324c02803 100644 --- a/gen/docs1-cli/Cargo.toml +++ b/gen/docs1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-docs1-cli" -version = "2.0.3+20210323" +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" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-docs1] path = "../docs1" -version = "2.0.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/docs1-cli/README.md b/gen/docs1-cli/README.md index cb284c2ee5..261134caa8 100644 --- a/gen/docs1-cli/README.md +++ b/gen/docs1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Docs* API at revision *20210323*. The CLI is at version *2.0.3*. +This documentation was generated from the *Docs* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash docs1 [options] diff --git a/gen/docs1-cli/mkdocs.yml b/gen/docs1-cli/mkdocs.yml index 51302e2fc7..317100f7cb 100644 --- a/gen/docs1-cli/mkdocs.yml +++ b/gen/docs1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Docs v2.0.3+20210323 +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) diff --git a/gen/docs1-cli/src/main.rs b/gen/docs1-cli/src/main.rs index 4b56f461b6..7ec9406539 100644 --- a/gen/docs1-cli/src/main.rs +++ b/gen/docs1-cli/src/main.rs @@ -472,7 +472,7 @@ async fn main() { let mut app = App::new("docs1") .author("Sebastian Thiel ") - .version("2.0.3+20210323") + .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") diff --git a/gen/docs1/Cargo.toml b/gen/docs1/Cargo.toml index b26a82a0f8..78d7aa6f58 100644 --- a/gen/docs1/Cargo.toml +++ b/gen/docs1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-docs1" -version = "2.0.3+20210323" +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.3+20210323" +documentation = "https://docs.rs/google-docs1/2.0.4+20210323" license = "MIT" keywords = ["docs", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/docs1/README.md b/gen/docs1/README.md index 40ae2f7d20..d7b7641310 100644 --- a/gen/docs1/README.md +++ b/gen/docs1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-docs1` library allows access to all features of the *Google Docs* service. -This documentation was generated from *Docs* crate version *2.0.3+20210323*, where *20210323* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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.3+20210323/google_docs1/Docs) ... +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.3+20210323/google_docs1/api::Document) - * [*batch update*](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/api::DocumentBatchUpdateCall), [*create*](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/api::DocumentCreateCall) and [*get*](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/api::DocumentGetCall) +* [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) @@ -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-docs1/2.0.3+20210323/google_docs1/Docs)** +* **[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.3+20210323/google_docs1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/client::CallBuilder) -* **[Resources](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/client::Resource)** + * 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.3+20210323/google_docs1/client::Part)** + * **[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.3+20210323/google_docs1/client::CallBuilder)** +* **[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. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/client::Result) enumeration as return value of +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.3+20210323/google_docs1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[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.3+20210323/google_docs1/client::Result), should be +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.3+20210323/google_docs1/client::ResponseResult), it will return that by default. +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")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/client::Delegate) to the -[Method Builder](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/client::CallBuilder) before making the final `doit()` call. +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.3+20210323/google_docs1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +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.3+20210323/google_docs1/client::RequestValue) and -[decodable](https://docs.rs/google-docs1/2.0.3+20210323/google_docs1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +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.3+20210323/google_docs1/client::Part) which are identifiable by name, which will be sent to +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.3+20210323/google_docs1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +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.3+20210323/google_docs1/client::RequestValue) are moved +* [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. diff --git a/gen/docs1/src/api.rs b/gen/docs1/src/api.rs index 487cbc1992..e300b31b7a 100644 --- a/gen/docs1/src/api.rs +++ b/gen/docs1/src/api.rs @@ -136,7 +136,7 @@ impl<'a, > Docs<> { Docs { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.3".to_string(), + _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(), } @@ -147,7 +147,7 @@ impl<'a, > Docs<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.3`. + /// 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 { diff --git a/gen/docs1/src/client.rs b/gen/docs1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/docs1/src/client.rs +++ b/gen/docs1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/docs1/src/lib.rs b/gen/docs1/src/lib.rs index 200863e2c4..6829a63687 100644 --- a/gen/docs1/src/lib.rs +++ b/gen/docs1/src/lib.rs @@ -2,7 +2,7 @@ // 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.3+20210323*, where *20210323* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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/). diff --git a/gen/documentai1-cli/Cargo.toml b/gen/documentai1-cli/Cargo.toml index c3e8150c1c..3b47fc861b 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/documentai1-cli/README.md b/gen/documentai1-cli/README.md index b66199eb15..5a132bc767 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.3*. +This documentation was generated from the *Document* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash documentai1 [options] diff --git a/gen/documentai1-cli/mkdocs.yml b/gen/documentai1-cli/mkdocs.yml index 1e33619e73..3db967602a 100644 --- a/gen/documentai1-cli/mkdocs.yml +++ b/gen/documentai1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Document v2.0.3+20210329 +site_name: Document v2.0.4+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 1199aa2222..9a15e318a7 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.3+20210329") + .version("2.0.4+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 dfc44597de..a5f99a78ef 100644 --- a/gen/documentai1/Cargo.toml +++ b/gen/documentai1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-documentai1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-documentai1/2.0.4+20210329" license = "MIT" keywords = ["documentai", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/documentai1/README.md b/gen/documentai1/README.md index 4ee519e2f7..2f0f24d148 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.3+20210329*, where *20210329* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_documentai1/Document) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/Document) ... * operations - * [*cancel*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::OperationCancelCall), [*delete*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::OperationListCall) + * [*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) * projects - * [*locations get*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationOperationGetCall), [*locations processors batch process*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationProcessorBatchProcesCall), [*locations processors human review config review document*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationProcessorHumanReviewConfigReviewDocumentCall), [*locations processors process*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationProcessorProcesCall), [*locations processors processor versions batch process*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationProcessorProcessorVersionBatchProcesCall), [*locations processors processor versions process*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectLocationProcessorProcessorVersionProcesCall) and [*operations get*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::ProjectOperationGetCall) + * [*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) * uiv1beta3 - * [*projects locations get*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::Uiv1beta3ProjectLocationGetCall), [*projects locations list*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::Uiv1beta3ProjectLocationListCall) and [*projects locations operations get*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/api::Uiv1beta3ProjectLocationOperationGetCall) + * [*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) @@ -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.3+20210329/google_documentai1/Document)** +* **[Hub](https://docs.rs/google-documentai1/2.0.4+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.3+20210329/google_documentai1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/client::CallBuilder) -* **[Resources](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/client::Part)** + * **[Parts](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-documentai1/2.0.3+20210329/google_documentai1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-documentai1/2.0.3+20210329/google_documentai1/client::Delegate) to the -[Method Builder](https://docs.rs/google-documentai1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_documentai1/client::RequestValue) and -[decodable](https://docs.rs/google-documentai1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-documentai1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_documentai1/client::RequestValue) are moved +* [request values](https://docs.rs/google-documentai1/2.0.4+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 f47798b8a7..48e127e6dc 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/documentai1/src/client.rs b/gen/documentai1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/documentai1/src/client.rs +++ b/gen/documentai1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/documentai1/src/lib.rs b/gen/documentai1/src/lib.rs index 7747a426b6..f546d3c181 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.3+20210329*, where *20210329* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Document* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/document-ai/docs/). diff --git a/gen/documentai1_beta2-cli/Cargo.toml b/gen/documentai1_beta2-cli/Cargo.toml index 9d77c11aa3..c16c197146 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/documentai1_beta2-cli/README.md b/gen/documentai1_beta2-cli/README.md index 28f322f4b4..368ec9eb8b 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.3*. +This documentation was generated from the *Document* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash documentai1-beta2 [options] diff --git a/gen/documentai1_beta2-cli/mkdocs.yml b/gen/documentai1_beta2-cli/mkdocs.yml index 2d2fe41c53..a2f9775fa0 100644 --- a/gen/documentai1_beta2-cli/mkdocs.yml +++ b/gen/documentai1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Document v2.0.3+20210329 +site_name: Document v2.0.4+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 e3bc204bc9..8f67b1c3fb 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.3+20210329") + .version("2.0.4+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 e36f3577e5..d985759e94 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-documentai1_beta2/2.0.4+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 27956d66da..46545c66eb 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.3+20210329*, where *20210329* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_documentai1_beta2/Document) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/Document) ... * projects - * [*documents batch process*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/api::ProjectDocumentBatchProcesCall), [*documents process*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/api::ProjectDocumentProcesCall), [*locations documents batch process*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/api::ProjectLocationDocumentBatchProcesCall), [*locations documents process*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/api::ProjectLocationDocumentProcesCall), [*locations operations get*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/api::ProjectLocationOperationGetCall) and [*operations get*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/api::ProjectOperationGetCall) + * [*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) @@ -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.3+20210329/google_documentai1_beta2/Document)** +* **[Hub](https://docs.rs/google-documentai1_beta2/2.0.4+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.3+20210329/google_documentai1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-documentai1_beta2/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-documentai1_beta2/2.0.3+20210329/google_documentai1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-documentai1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_documentai1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-documentai1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-documentai1_beta2/2.0.3+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.4+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.3+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.4+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.3+20210329/google_documentai1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-documentai1_beta2/2.0.4+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 1e8b5a28e9..847cc498dd 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/documentai1_beta2/src/client.rs b/gen/documentai1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/documentai1_beta2/src/client.rs +++ b/gen/documentai1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/documentai1_beta2/src/lib.rs b/gen/documentai1_beta2/src/lib.rs index 600c8379f0..6d75d28002 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.3+20210329*, where *20210329* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Document* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/document-ai/docs/). diff --git a/gen/domains1_beta1-cli/Cargo.toml b/gen/domains1_beta1-cli/Cargo.toml index 274105cb31..c1ee850fbb 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.3+20210216" +version = "2.0.4+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.3+20210216" +version = "2.0.4+20210216" diff --git a/gen/domains1_beta1-cli/README.md b/gen/domains1_beta1-cli/README.md index 3faea90edf..e97e4587d1 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.3*. +This documentation was generated from the *Cloud Domains* API at revision *20210216*. The CLI is at version *2.0.4*. ```bash domains1-beta1 [options] diff --git a/gen/domains1_beta1-cli/mkdocs.yml b/gen/domains1_beta1-cli/mkdocs.yml index 905dd69403..d496064f44 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.3+20210216 +site_name: Cloud Domains v2.0.4+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 5505859615..8b3fae32ae 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.3+20210216") + .version("2.0.4+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 e4e70a3300..f489781f85 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.3+20210216" +version = "2.0.4+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.3+20210216" +documentation = "https://docs.rs/google-domains1_beta1/2.0.4+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 4bb5666f82..37a6eb9cab 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.3+20210216*, where *20210216* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210216/google_domains1_beta1/CloudDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/CloudDomains) ... * projects - * [*locations get*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationSetIamPolicyCall) and [*locations registrations test iam permissions*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/api::ProjectLocationRegistrationTestIamPermissionCall) + * [*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) @@ -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.3+20210216/google_domains1_beta1/CloudDomains)** +* **[Hub](https://docs.rs/google-domains1_beta1/2.0.4+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.3+20210216/google_domains1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domains1_beta1/2.0.3+20210216/google_domains1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domains1_beta1/2.0.4+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. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-domains1_beta1/2.0.3+20210216/google_domains1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domains1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210216/google_domains1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-domains1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domains1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210216/google_domains1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domains1_beta1/2.0.4+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 19d9e43fe0..0d801d4a99 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/domains1_beta1/src/client.rs b/gen/domains1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/domains1_beta1/src/client.rs +++ b/gen/domains1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/domains1_beta1/src/lib.rs b/gen/domains1_beta1/src/lib.rs index d9c3664239..dca77cfc4d 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.3+20210216*, where *20210216* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Domains* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/domains/). diff --git a/gen/domainsrdap1-cli/Cargo.toml b/gen/domainsrdap1-cli/Cargo.toml index 6d62a5ac9c..14c5549468 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/domainsrdap1-cli/README.md b/gen/domainsrdap1-cli/README.md index 550b4ff9cb..1d824e12a4 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.3*. +This documentation was generated from the *Domains RDAP* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash domainsrdap1 [options] diff --git a/gen/domainsrdap1-cli/mkdocs.yml b/gen/domainsrdap1-cli/mkdocs.yml index 7c87d8399e..3117fe47c6 100644 --- a/gen/domainsrdap1-cli/mkdocs.yml +++ b/gen/domainsrdap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Domains RDAP v2.0.3+20210331 +site_name: Domains RDAP v2.0.4+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 dc60f34610..2e55385847 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.3+20210331") + .version("2.0.4+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 77fcac73e5..2cf3c06656 100644 --- a/gen/domainsrdap1/Cargo.toml +++ b/gen/domainsrdap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-domainsrdap1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-domainsrdap1/2.0.4+20210331" license = "MIT" keywords = ["domainsrdap", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/domainsrdap1/README.md b/gen/domainsrdap1/README.md index a039258f2d..3b51fadd5e 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.3+20210331*, where *20210331* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_domainsrdap1/DomainsRDAP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/DomainsRDAP) ... * autnum - * [*get*](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::AutnumGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::AutnumGetCall) * domain - * [*get*](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::DomainGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::DomainGetCall) * entity - * [*get*](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::EntityGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::EntityGetCall) * ip - * [*get*](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::IpGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::IpGetCall) * nameserver - * [*get*](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::NameserverGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::NameserverGetCall) Other activities are ... -* [get domains](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::MethodGetDomainCall) -* [get entities](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::MethodGetEntityCall) -* [get help](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::MethodGetHelpCall) -* [get ip](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::MethodGetIpCall) -* [get nameservers](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/api::MethodGetNameserverCall) +* [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) @@ -38,17 +38,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/DomainsRDAP)** +* **[Hub](https://docs.rs/google-domainsrdap1/2.0.4+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.3+20210331/google_domainsrdap1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/client::Part)** + * **[Parts](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domainsrdap1/2.0.3+20210331/google_domainsrdap1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domainsrdap1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-domainsrdap1/2.0.3+20210331/google_domainsrdap1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domainsrdap1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_domainsrdap1/client::RequestValue) and -[decodable](https://docs.rs/google-domainsrdap1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domainsrdap1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_domainsrdap1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domainsrdap1/2.0.4+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 598f34266b..204a5aa61a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/domainsrdap1/src/client.rs b/gen/domainsrdap1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/domainsrdap1/src/client.rs +++ b/gen/domainsrdap1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/domainsrdap1/src/lib.rs b/gen/domainsrdap1/src/lib.rs index e39bd2b9b8..459c351564 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.3+20210331*, where *20210331* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Domains RDAP* *v1* API can be found at the //! [official documentation site](https://developers.google.com/domains/rdap/). diff --git a/gen/doubleclickbidmanager1-cli/Cargo.toml b/gen/doubleclickbidmanager1-cli/Cargo.toml index 83443db0d5..e8bdbf39f8 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/doubleclickbidmanager1-cli/README.md b/gen/doubleclickbidmanager1-cli/README.md index f65fb36aa6..38fb7edeed 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.3*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash doubleclickbidmanager1 [options] diff --git a/gen/doubleclickbidmanager1-cli/mkdocs.yml b/gen/doubleclickbidmanager1-cli/mkdocs.yml index 41b033000d..85358bfbfc 100644 --- a/gen/doubleclickbidmanager1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v2.0.3+20210323 +site_name: DoubleClick Bid Manager v2.0.4+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 068d33cce5..e4be59a10a 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.3+20210323") + .version("2.0.4+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 71033d2c04..3448454752 100644 --- a/gen/doubleclickbidmanager1/Cargo.toml +++ b/gen/doubleclickbidmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/doubleclickbidmanager1/README.md b/gen/doubleclickbidmanager1/README.md index ecf10820a9..56addea33b 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.3+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_doubleclickbidmanager1/DoubleClickBidManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/DoubleClickBidManager) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::LineitemUploadlineitemCall) -* [queries](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::Query) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::QueryRunqueryCall) -* [reports](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::Report) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::ReportListreportCall) + * [*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) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/api::SdfDownloadCall) + * [*download*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+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.3+20210323/google_doubleclickbidmanager1/DoubleClickBidManager)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1/2.0.4+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.3+20210323/google_doubleclickbidmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/client::Part)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-doubleclickbidmanager1/2.0.3+20210323/google_doubleclickbidmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_doubleclickbidmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclickbidmanager1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_doubleclickbidmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1/2.0.4+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 8e5b44e19d..6ac32d0009 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/doubleclickbidmanager1/src/client.rs b/gen/doubleclickbidmanager1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/doubleclickbidmanager1/src/client.rs +++ b/gen/doubleclickbidmanager1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/doubleclickbidmanager1/src/lib.rs b/gen/doubleclickbidmanager1/src/lib.rs index 5739b8fd04..7baae7d12c 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.3+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). diff --git a/gen/doubleclickbidmanager1d1-cli/Cargo.toml b/gen/doubleclickbidmanager1d1-cli/Cargo.toml index ffc8f05cd4..9cd9b699b0 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/doubleclickbidmanager1d1-cli/README.md b/gen/doubleclickbidmanager1d1-cli/README.md index 9ff8d3be9b..2fcbb6be81 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.3*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash doubleclickbidmanager1d1 [options] diff --git a/gen/doubleclickbidmanager1d1-cli/mkdocs.yml b/gen/doubleclickbidmanager1d1-cli/mkdocs.yml index a320a9deba..c9f02efe81 100644 --- a/gen/doubleclickbidmanager1d1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v2.0.3+20210323 +site_name: DoubleClick Bid Manager v2.0.4+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 25b2463618..0cccefa585 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.3+20210323") + .version("2.0.4+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 dd7b463475..2557d3adae 100644 --- a/gen/doubleclickbidmanager1d1/Cargo.toml +++ b/gen/doubleclickbidmanager1d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1d1" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/doubleclickbidmanager1d1/README.md b/gen/doubleclickbidmanager1d1/README.md index e53725cb5a..56ced458b8 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.3+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.3*. +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*. 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.3+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::LineitemUploadlineitemCall) -* [queries](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::Query) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::QueryRunqueryCall) -* [reports](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::Report) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::ReportListreportCall) + * [*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) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/api::SdfDownloadCall) + * [*download*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+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.3+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+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.3+20210323/google_doubleclickbidmanager1d1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/client::Part)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-doubleclickbidmanager1d1/2.0.3+20210323/google_doubleclickbidmanager1d1/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_doubleclickbidmanager1d1/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_doubleclickbidmanager1d1/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+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 e14fad0d80..71c8ed3247 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/doubleclickbidmanager1d1/src/client.rs b/gen/doubleclickbidmanager1d1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/doubleclickbidmanager1d1/src/client.rs +++ b/gen/doubleclickbidmanager1d1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/doubleclickbidmanager1d1/src/lib.rs b/gen/doubleclickbidmanager1d1/src/lib.rs index 58888503d0..826885597c 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.3+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.3*. +//! 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*. //! //! Everything else about the *DoubleClick Bid Manager* *v1d1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). diff --git a/gen/doubleclicksearch2-cli/Cargo.toml b/gen/doubleclicksearch2-cli/Cargo.toml index e6fed6bb71..2b3329f35d 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/doubleclicksearch2-cli/README.md b/gen/doubleclicksearch2-cli/README.md index b10d7d7ecd..fb6b49c7be 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.3*. +This documentation was generated from the *Doubleclicksearch* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash doubleclicksearch2 [options] diff --git a/gen/doubleclicksearch2-cli/mkdocs.yml b/gen/doubleclicksearch2-cli/mkdocs.yml index 326802b88e..689149b173 100644 --- a/gen/doubleclicksearch2-cli/mkdocs.yml +++ b/gen/doubleclicksearch2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Doubleclicksearch v2.0.3+20210323 +site_name: Doubleclicksearch v2.0.4+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 182598bd22..7422f5bd7f 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.3+20210323") + .version("2.0.4+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 d5345134d2..0b9c09df6f 100644 --- a/gen/doubleclicksearch2/Cargo.toml +++ b/gen/doubleclicksearch2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclicksearch2" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-doubleclicksearch2/2.0.4+20210323" license = "MIT" keywords = ["doubleclicksearch", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/doubleclicksearch2/README.md b/gen/doubleclicksearch2/README.md index 264fc744d3..b782c5e3fb 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.3+20210323*, where *20210323* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_doubleclicksearch2/Doubleclicksearch) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/Doubleclicksearch) ... -* [conversion](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::Conversion) - * [*get*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ConversionGetCall), [*insert*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ConversionInsertCall), [*update*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ConversionUpdateCall) and [*update availability*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ConversionUpdateAvailabilityCall) -* [reports](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::Report) - * [*generate*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ReportGenerateCall), [*get*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ReportGetCall), [*get file*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ReportGetFileCall) and [*request*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ReportRequestCall) -* [saved columns](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::SavedColumn) - * [*list*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::SavedColumnListCall) +* [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) Download supported by ... -* [*get file reports*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/api::ReportGetFileCall) +* [*get file reports*](https://docs.rs/google-doubleclicksearch2/2.0.4+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.3+20210323/google_doubleclicksearch2/Doubleclicksearch)** +* **[Hub](https://docs.rs/google-doubleclicksearch2/2.0.4+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.3+20210323/google_doubleclicksearch2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/client::Part)** + * **[Parts](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-doubleclicksearch2/2.0.3+20210323/google_doubleclicksearch2/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclicksearch2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_doubleclicksearch2/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclicksearch2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/2.0.3+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.4+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.3+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.4+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.3+20210323/google_doubleclicksearch2/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclicksearch2/2.0.4+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 b60120f253..391bd8b155 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/doubleclicksearch2/src/client.rs b/gen/doubleclicksearch2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/doubleclicksearch2/src/client.rs +++ b/gen/doubleclicksearch2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs index 149e8708a6..78f24b2972 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.3+20210323*, where *20210323* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Doubleclicksearch* *v2* API can be found at the //! [official documentation site](https://developers.google.com/search-ads). diff --git a/gen/drive2-cli/Cargo.toml b/gen/drive2-cli/Cargo.toml index 4d12a0eb8e..07d0983a5c 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/drive2-cli/README.md b/gen/drive2-cli/README.md index 9a8987f467..e789207f1e 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.3*. +This documentation was generated from the *drive* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash drive2 [options] diff --git a/gen/drive2-cli/mkdocs.yml b/gen/drive2-cli/mkdocs.yml index a38e5b15ee..d56f52f175 100644 --- a/gen/drive2-cli/mkdocs.yml +++ b/gen/drive2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v2.0.3+20210322 +site_name: drive v2.0.4+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 534eedcf29..7054364bb5 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.3+20210322") + .version("2.0.4+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 8f1df6d065..7fbb7939ba 100644 --- a/gen/drive2/Cargo.toml +++ b/gen/drive2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive2" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-drive2/2.0.4+20210322" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/drive2/README.md b/gen/drive2/README.md index e3244f452e..2b34c0b177 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.3+20210322*, where *20210322* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_drive2/DriveHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/DriveHub) ... -* [about](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::About) - * [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::AboutGetCall) -* [apps](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::App) - * [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::AppGetCall) and [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::AppListCall) -* [changes](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Change) - * [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChangeGetCall), [*get start page token*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChangeWatchCall) -* [channels](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Channel) - * [*stop*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChannelStopCall) +* [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) * children - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChildrenDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChildrenGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChildrenInsertCall) and [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChildrenListCall) -* [comments](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Comment) - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::CommentGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::CommentInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::CommentListCall), [*patch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::CommentPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::CommentUpdateCall) -* [drives](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Drive) - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveGetCall), [*hide*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveHideCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveListCall), [*unhide*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::DriveUpdateCall) -* [files](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::File) - * [*copy*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileCopyCall), [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileListCall), [*patch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FilePatchCall), [*touch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileTouchCall), [*trash*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileTrashCall), [*untrash*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileUntrashCall), [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileWatchCall) + * [*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) * parents - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ParentDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ParentGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ParentInsertCall) and [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ParentListCall) -* [permissions](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Permission) - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionGetCall), [*get id for email*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionGetIdForEmailCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionListCall), [*patch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PermissionUpdateCall) -* [properties](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Property) - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PropertyDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PropertyGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PropertyInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PropertyListCall), [*patch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PropertyPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::PropertyUpdateCall) + * [*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) * replies - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ReplyGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ReplyInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ReplyListCall), [*patch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ReplyPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ReplyUpdateCall) -* [revisions](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::Revision) - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::RevisionGetCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::RevisionListCall), [*patch*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::RevisionPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::RevisionUpdateCall) + * [*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) * teamdrives - * [*delete*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::TeamdriveGetCall), [*insert*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::TeamdriveInsertCall), [*list*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::TeamdriveUpdateCall) + * [*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) Upload supported by ... -* [*insert files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileInsertCall) -* [*update files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileUpdateCall) +* [*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) Download supported by ... -* [*export files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileExportCall) -* [*get files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileWatchCall) +* [*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) Subscription supported by ... -* [*list changes*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChangeListCall) -* [*watch changes*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::ChangeWatchCall) -* [*get files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileGetCall) -* [*insert files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileInsertCall) -* [*watch files*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/api::FileWatchCall) +* [*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) @@ -68,17 +68,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/DriveHub)** +* **[Hub](https://docs.rs/google-drive2/2.0.4+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.3+20210322/google_drive2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/client::CallBuilder) -* **[Resources](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/client::Part)** + * **[Parts](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive2/2.0.3+20210322/google_drive2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -207,17 +207,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +227,29 @@ Methods supporting uploads can do so using up to 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.3+20210322/google_drive2/client::Delegate) to the -[Method Builder](https://docs.rs/google-drive2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_drive2/client::RequestValue) and -[decodable](https://docs.rs/google-drive2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-drive2/2.0.3+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.4+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.3+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.4+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.3+20210322/google_drive2/client::RequestValue) are moved +* [request values](https://docs.rs/google-drive2/2.0.4+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 fc1c2142a0..841693c88c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/drive2/src/client.rs b/gen/drive2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/drive2/src/client.rs +++ b/gen/drive2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs index 391383c408..a590f496e5 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.3+20210322*, where *20210322* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *drive* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/). diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index bcee6d1000..3a5056a6a5 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/drive3-cli/README.md b/gen/drive3-cli/README.md index 929e7e84c4..18064387dc 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.3*. +This documentation was generated from the *drive* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash drive3 [options] diff --git a/gen/drive3-cli/mkdocs.yml b/gen/drive3-cli/mkdocs.yml index 07934b44a8..2625fb685b 100644 --- a/gen/drive3-cli/mkdocs.yml +++ b/gen/drive3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v2.0.3+20210322 +site_name: drive v2.0.4+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 33b9aca005..71fbd44848 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.3+20210322") + .version("2.0.4+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 94544ffdb6..2208776545 100644 --- a/gen/drive3/Cargo.toml +++ b/gen/drive3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive3" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-drive3/2.0.4+20210322" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/drive3/README.md b/gen/drive3/README.md index 556b804058..287cc89a1c 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.3+20210322*, where *20210322* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_drive3/DriveHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/DriveHub) ... -* [about](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::About) - * [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::AboutGetCall) -* [changes](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Change) - * [*get start page token*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ChangeWatchCall) -* [channels](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Channel) - * [*stop*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ChannelStopCall) -* [comments](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Comment) - * [*create*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::CommentCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::CommentGetCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::CommentListCall) and [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::CommentUpdateCall) -* [drives](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Drive) - * [*create*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveGetCall), [*hide*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveHideCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveListCall), [*unhide*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::DriveUpdateCall) -* [files](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::File) - * [*copy*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileCopyCall), [*create*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileGetCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileListCall), [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileWatchCall) -* [permissions](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Permission) - * [*create*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::PermissionCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::PermissionGetCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::PermissionListCall) and [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::PermissionUpdateCall) -* [replies](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Reply) - * [*create*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ReplyCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ReplyGetCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ReplyListCall) and [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ReplyUpdateCall) -* [revisions](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::Revision) - * [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::RevisionGetCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::RevisionListCall) and [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::RevisionUpdateCall) +* [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) * teamdrives - * [*create*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::TeamdriveCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::TeamdriveGetCall), [*list*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::TeamdriveUpdateCall) + * [*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) Upload supported by ... -* [*create files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileCreateCall) -* [*update files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileUpdateCall) +* [*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) Download supported by ... -* [*export files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileExportCall) -* [*get files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileWatchCall) -* [*get revisions*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::RevisionGetCall) +* [*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) Subscription supported by ... -* [*list changes*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ChangeListCall) -* [*watch changes*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::ChangeWatchCall) -* [*create files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileCreateCall) -* [*get files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/api::FileWatchCall) +* [*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) @@ -61,17 +61,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/DriveHub)** +* **[Hub](https://docs.rs/google-drive3/2.0.4+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.3+20210322/google_drive3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/client::CallBuilder) -* **[Resources](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/client::Part)** + * **[Parts](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive3/2.0.3+20210322/google_drive3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -187,17 +187,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +207,29 @@ Methods supporting uploads can do so using up to 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.3+20210322/google_drive3/client::Delegate) to the -[Method Builder](https://docs.rs/google-drive3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_drive3/client::RequestValue) and -[decodable](https://docs.rs/google-drive3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-drive3/2.0.3+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.4+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.3+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.4+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.3+20210322/google_drive3/client::RequestValue) are moved +* [request values](https://docs.rs/google-drive3/2.0.4+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 fd031df1a4..afc71922a7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/drive3/src/client.rs b/gen/drive3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/drive3/src/client.rs +++ b/gen/drive3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/drive3/src/lib.rs b/gen/drive3/src/lib.rs index 417f922686..7a6d7f25c3 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.3+20210322*, where *20210322* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *drive* *v3* API can be found at the //! [official documentation site](https://developers.google.com/drive/). diff --git a/gen/driveactivity2-cli/Cargo.toml b/gen/driveactivity2-cli/Cargo.toml index 925b924158..5fb2eba2c5 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/driveactivity2-cli/README.md b/gen/driveactivity2-cli/README.md index d761fce575..53cee5f864 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.3*. +This documentation was generated from the *Drive Activity* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash driveactivity2 [options] diff --git a/gen/driveactivity2-cli/mkdocs.yml b/gen/driveactivity2-cli/mkdocs.yml index f5b25818d4..356d595429 100644 --- a/gen/driveactivity2-cli/mkdocs.yml +++ b/gen/driveactivity2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Drive Activity v2.0.3+20210326 +site_name: Drive Activity v2.0.4+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 18eb553220..ed6deed44b 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.3+20210326") + .version("2.0.4+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 1995d74dbc..8fb583121b 100644 --- a/gen/driveactivity2/Cargo.toml +++ b/gen/driveactivity2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-driveactivity2" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-driveactivity2/2.0.4+20210326" license = "MIT" keywords = ["driveactivity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/driveactivity2/README.md b/gen/driveactivity2/README.md index f91b65ac68..ae96ef5b2b 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.3+20210326*, where *20210326* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_driveactivity2/DriveActivityHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/DriveActivityHub) ... * activity - * [*query*](https://docs.rs/google-driveactivity2/2.0.3+20210326/google_driveactivity2/api::ActivityQueryCall) + * [*query*](https://docs.rs/google-driveactivity2/2.0.4+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.3+20210326/google_driveactivity2/DriveActivityHub)** +* **[Hub](https://docs.rs/google-driveactivity2/2.0.4+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.3+20210326/google_driveactivity2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/2.0.3+20210326/google_driveactivity2/client::CallBuilder) -* **[Resources](https://docs.rs/google-driveactivity2/2.0.3+20210326/google_driveactivity2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-driveactivity2/2.0.3+20210326/google_driveactivity2/client::Part)** + * **[Parts](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-driveactivity2/2.0.3+20210326/google_driveactivity2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-driveactivity2/2.0.3+20210326/google_driveactivity2/client::Delegate) to the -[Method Builder](https://docs.rs/google-driveactivity2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_driveactivity2/client::RequestValue) and -[decodable](https://docs.rs/google-driveactivity2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-driveactivity2/2.0.3+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.4+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.3+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.4+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.3+20210326/google_driveactivity2/client::RequestValue) are moved +* [request values](https://docs.rs/google-driveactivity2/2.0.4+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 ec0fbaa783..61c16e2eef 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/driveactivity2/src/client.rs b/gen/driveactivity2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/driveactivity2/src/client.rs +++ b/gen/driveactivity2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/driveactivity2/src/lib.rs b/gen/driveactivity2/src/lib.rs index 2ce04b9101..148b94754f 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.3+20210326*, where *20210326* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Drive Activity* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/activity/). diff --git a/gen/eventarc1-cli/Cargo.toml b/gen/eventarc1-cli/Cargo.toml index ea774bf573..12dc96e1b1 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/eventarc1-cli/README.md b/gen/eventarc1-cli/README.md index 8b9aaf4d75..2e0e7f55ff 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.3*. +This documentation was generated from the *Eventarc* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash eventarc1 [options] diff --git a/gen/eventarc1-cli/mkdocs.yml b/gen/eventarc1-cli/mkdocs.yml index cba261780c..881e477be3 100644 --- a/gen/eventarc1-cli/mkdocs.yml +++ b/gen/eventarc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Eventarc v2.0.3+20210325 +site_name: Eventarc v2.0.4+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 3c7696ca94..1dd96be6be 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.3+20210325") + .version("2.0.4+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 d752028772..017f4eca46 100644 --- a/gen/eventarc1/Cargo.toml +++ b/gen/eventarc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-eventarc1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-eventarc1/2.0.4+20210325" license = "MIT" keywords = ["eventarc", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/eventarc1/README.md b/gen/eventarc1/README.md index e7efdd51a1..3d2bf0b02b 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.3+20210325*, where *20210325* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_eventarc1/Eventarc) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/Eventarc) ... * projects - * [*locations get*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationOperationListCall), [*locations triggers create*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerGetCall), [*locations triggers get iam policy*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerGetIamPolicyCall), [*locations triggers list*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerPatchCall), [*locations triggers set iam policy*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerSetIamPolicyCall) and [*locations triggers test iam permissions*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/api::ProjectLocationTriggerTestIamPermissionCall) + * [*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) @@ -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.3+20210325/google_eventarc1/Eventarc)** +* **[Hub](https://docs.rs/google-eventarc1/2.0.4+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.3+20210325/google_eventarc1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/client::CallBuilder) -* **[Resources](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/client::Part)** + * **[Parts](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-eventarc1/2.0.3+20210325/google_eventarc1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-eventarc1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-eventarc1/2.0.3+20210325/google_eventarc1/client::Delegate) to the -[Method Builder](https://docs.rs/google-eventarc1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_eventarc1/client::RequestValue) and -[decodable](https://docs.rs/google-eventarc1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-eventarc1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_eventarc1/client::RequestValue) are moved +* [request values](https://docs.rs/google-eventarc1/2.0.4+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 3db2cbdbd7..40958df3ea 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/eventarc1/src/client.rs b/gen/eventarc1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/eventarc1/src/client.rs +++ b/gen/eventarc1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/eventarc1/src/lib.rs b/gen/eventarc1/src/lib.rs index 386a00a251..db5e93c5f5 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.3+20210325*, where *20210325* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Eventarc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/eventarc). diff --git a/gen/factchecktools1_alpha1-cli/Cargo.toml b/gen/factchecktools1_alpha1-cli/Cargo.toml index eb38a96c7c..80a5bc8b4f 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/factchecktools1_alpha1-cli/README.md b/gen/factchecktools1_alpha1-cli/README.md index d9dc1eb501..2c6da956dd 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.3*. +This documentation was generated from the *Fact Check Tools* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash factchecktools1-alpha1 [options] diff --git a/gen/factchecktools1_alpha1-cli/mkdocs.yml b/gen/factchecktools1_alpha1-cli/mkdocs.yml index cbba8c92f4..e1b8ca904a 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.3+20210330 +site_name: Fact Check Tools v2.0.4+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 621741453c..ab66579fda 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.3+20210330") + .version("2.0.4+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 aecff2d865..ef533262d5 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.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-factchecktools1_alpha1/2.0.4+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 8ac7c4e251..53f981f1dc 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.3+20210330*, where *20210330* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_factchecktools1_alpha1/FactCheckTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/FactCheckTools) ... * claims - * [*search*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/api::ClaimSearchCall) + * [*search*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::ClaimSearchCall) * pages - * [*create*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/api::PageCreateCall), [*delete*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/api::PageDeleteCall), [*get*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/api::PageGetCall), [*list*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/api::PageListCall) and [*update*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/api::PageUpdateCall) + * [*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) @@ -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.3+20210330/google_factchecktools1_alpha1/FactCheckTools)** +* **[Hub](https://docs.rs/google-factchecktools1_alpha1/2.0.4+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.3+20210330/google_factchecktools1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-factchecktools1_alpha1/2.0.4+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. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-factchecktools1_alpha1/2.0.3+20210330/google_factchecktools1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-factchecktools1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_factchecktools1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-factchecktools1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_factchecktools1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-factchecktools1_alpha1/2.0.4+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 1f1965242c..4ac67ed6d1 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/factchecktools1_alpha1/src/client.rs b/gen/factchecktools1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/factchecktools1_alpha1/src/client.rs +++ b/gen/factchecktools1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/factchecktools1_alpha1/src/lib.rs b/gen/factchecktools1_alpha1/src/lib.rs index 045e502f26..2177d665f3 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.3+20210330*, where *20210330* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/fcm1-cli/Cargo.toml b/gen/fcm1-cli/Cargo.toml index d886e55bbb..2af83b55ff 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/fcm1-cli/README.md b/gen/fcm1-cli/README.md index b64f96956f..da057c937d 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.3*. +This documentation was generated from the *Firebase Cloud Messaging* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash fcm1 [options] diff --git a/gen/fcm1-cli/mkdocs.yml b/gen/fcm1-cli/mkdocs.yml index b75e558337..f9649c2086 100644 --- a/gen/fcm1-cli/mkdocs.yml +++ b/gen/fcm1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Cloud Messaging v2.0.3+20210329 +site_name: Firebase Cloud Messaging v2.0.4+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 c1132ff103..ebf8f5ac91 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.3+20210329") + .version("2.0.4+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 665b2384dd..c529a50d57 100644 --- a/gen/fcm1/Cargo.toml +++ b/gen/fcm1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fcm1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-fcm1/2.0.4+20210329" license = "MIT" keywords = ["fcm", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/fcm1/README.md b/gen/fcm1/README.md index 72ecb06f0a..aac23c3d1e 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.3+20210329*, where *20210329* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_fcm1/FirebaseCloudMessaging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/FirebaseCloudMessaging) ... * projects - * [*messages send*](https://docs.rs/google-fcm1/2.0.3+20210329/google_fcm1/api::ProjectMessageSendCall) + * [*messages send*](https://docs.rs/google-fcm1/2.0.4+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.3+20210329/google_fcm1/FirebaseCloudMessaging)** +* **[Hub](https://docs.rs/google-fcm1/2.0.4+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.3+20210329/google_fcm1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/2.0.3+20210329/google_fcm1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fcm1/2.0.3+20210329/google_fcm1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fcm1/2.0.3+20210329/google_fcm1/client::Part)** + * **[Parts](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fcm1/2.0.3+20210329/google_fcm1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-fcm1/2.0.3+20210329/google_fcm1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fcm1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_fcm1/client::RequestValue) and -[decodable](https://docs.rs/google-fcm1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fcm1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_fcm1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fcm1/2.0.4+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 9ed4f24142..8c6354582d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/fcm1/src/client.rs b/gen/fcm1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/fcm1/src/client.rs +++ b/gen/fcm1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/fcm1/src/lib.rs b/gen/fcm1/src/lib.rs index a22b335992..0c47f6b8b2 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.3+20210329*, where *20210329* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase Cloud Messaging* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/cloud-messaging). diff --git a/gen/file1-cli/Cargo.toml b/gen/file1-cli/Cargo.toml index eb3cfe66cd..671448f9c3 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/file1-cli/README.md b/gen/file1-cli/README.md index e6a414cdde..92ad2d4ecb 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.3*. +This documentation was generated from the *Cloud Filestore* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash file1 [options] diff --git a/gen/file1-cli/mkdocs.yml b/gen/file1-cli/mkdocs.yml index 7052e8d191..7045f33cf2 100644 --- a/gen/file1-cli/mkdocs.yml +++ b/gen/file1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v2.0.3+20210323 +site_name: Cloud Filestore v2.0.4+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 ab0d07fba4..5f9f80fa67 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.3+20210323") + .version("2.0.4+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 37086988e6..e48a8a6a1d 100644 --- a/gen/file1/Cargo.toml +++ b/gen/file1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-file1/2.0.4+20210323" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/file1/README.md b/gen/file1/README.md index 80698998b6..9fb49c9c2e 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.3+20210323*, where *20210323* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_file1/CloudFilestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1/2.0.4+20210323/google_file1/CloudFilestore) ... * projects - * [*locations backups create*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationInstanceRestoreCall), [*locations list*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210323/google_file1/CloudFilestore)** +* **[Hub](https://docs.rs/google-file1/2.0.4+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.3+20210323/google_file1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1/2.0.3+20210323/google_file1/client::CallBuilder) -* **[Resources](https://docs.rs/google-file1/2.0.3+20210323/google_file1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1/2.0.3+20210323/google_file1/client::Part)** + * **[Parts](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1/2.0.3+20210323/google_file1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-file1/2.0.3+20210323/google_file1/client::Delegate) to the -[Method Builder](https://docs.rs/google-file1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_file1/client::RequestValue) and -[decodable](https://docs.rs/google-file1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-file1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_file1/client::RequestValue) are moved +* [request values](https://docs.rs/google-file1/2.0.4+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 aafe8a2418..a1e8483c2e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/file1/src/client.rs b/gen/file1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/file1/src/client.rs +++ b/gen/file1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/file1/src/lib.rs b/gen/file1/src/lib.rs index b1c22673bb..16c59773be 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.3+20210323*, where *20210323* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Filestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). diff --git a/gen/file1_beta1-cli/Cargo.toml b/gen/file1_beta1-cli/Cargo.toml index e9b24e45e0..30a28aca08 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.3+20210304" +version = "2.0.4+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.3+20210304" +version = "2.0.4+20210304" diff --git a/gen/file1_beta1-cli/README.md b/gen/file1_beta1-cli/README.md index 7b7fd83bf8..ed4897b63b 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.3*. +This documentation was generated from the *Cloud Filestore* API at revision *20210304*. The CLI is at version *2.0.4*. ```bash file1-beta1 [options] diff --git a/gen/file1_beta1-cli/mkdocs.yml b/gen/file1_beta1-cli/mkdocs.yml index 9106effcc0..802fdb056c 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.3+20210304 +site_name: Cloud Filestore v2.0.4+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 56312416f2..d7aaa2573a 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.3+20210304") + .version("2.0.4+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 0ea54b9b01..cf8fca81ce 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.3+20210304" +version = "2.0.4+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.3+20210304" +documentation = "https://docs.rs/google-file1_beta1/2.0.4+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 7d0b70da8a..63978b3015 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.3+20210304*, where *20210304* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210304/google_file1_beta1/CloudFilestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/CloudFilestore) ... * projects - * [*locations backups create*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationInstanceRestoreCall), [*locations list*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210304/google_file1_beta1/CloudFilestore)** +* **[Hub](https://docs.rs/google-file1_beta1/2.0.4+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.3+20210304/google_file1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1_beta1/2.0.3+20210304/google_file1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-file1_beta1/2.0.4+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. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-file1_beta1/2.0.3+20210304/google_file1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-file1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210304/google_file1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-file1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-file1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210304/google_file1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-file1_beta1/2.0.4+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 eab8f41d66..16c8d4e3a4 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/file1_beta1/src/client.rs b/gen/file1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/file1_beta1/src/client.rs +++ b/gen/file1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/file1_beta1/src/lib.rs b/gen/file1_beta1/src/lib.rs index a29f56fe85..0b5dcd903a 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.3+20210304*, where *20210304* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Filestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). diff --git a/gen/firebase1_beta1-cli/Cargo.toml b/gen/firebase1_beta1-cli/Cargo.toml index 2d1764f146..65db3b5a4f 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/firebase1_beta1-cli/README.md b/gen/firebase1_beta1-cli/README.md index aa7a86d74d..9de86917db 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.3*. +This documentation was generated from the *Firebase Management* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash firebase1-beta1 [options] diff --git a/gen/firebase1_beta1-cli/mkdocs.yml b/gen/firebase1_beta1-cli/mkdocs.yml index c54f43ab8a..743c521857 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.3+20210329 +site_name: Firebase Management v2.0.4+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 3de7ea088a..80456074ed 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.3+20210329") + .version("2.0.4+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 1d377d81fd..b964d250a1 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-firebase1_beta1/2.0.4+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 f61b11c552..3ce7ce9308 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.3+20210329*, where *20210329* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_firebase1_beta1/FirebaseManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/FirebaseManagement) ... * available projects - * [*list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::AvailableProjectListCall) -* [operations](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::Operation) - * [*get*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::OperationGetCall) + * [*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) * projects - * [*add firebase*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAddFirebaseCall), [*add google analytics*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAddGoogleAnalyticCall), [*android apps create*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppCreateCall), [*android apps get*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppGetCall), [*android apps get config*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppGetConfigCall), [*android apps list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppListCall), [*android apps patch*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppPatchCall), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaCreateCall), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaDeleteCall), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaListCall), [*available locations list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectAvailableLocationListCall), [*default location finalize*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectDefaultLocationFinalizeCall), [*get*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectGetCall), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectGetAdminSdkConfigCall), [*get analytics details*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectGetAnalyticsDetailCall), [*ios apps create*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectIosAppCreateCall), [*ios apps get*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectIosAppGetCall), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectIosAppGetConfigCall), [*ios apps list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectIosAppListCall), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectIosAppPatchCall), [*list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectListCall), [*patch*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectPatchCall), [*remove analytics*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectRemoveAnalyticCall), [*search apps*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectSearchAppCall), [*web apps create*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectWebAppCreateCall), [*web apps get*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectWebAppGetCall), [*web apps get config*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectWebAppGetConfigCall), [*web apps list*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectWebAppListCall) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/api::ProjectWebAppPatchCall) + * [*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) @@ -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.3+20210329/google_firebase1_beta1/FirebaseManagement)** +* **[Hub](https://docs.rs/google-firebase1_beta1/2.0.4+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.3+20210329/google_firebase1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebase1_beta1/2.0.4+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. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebase1_beta1/2.0.3+20210329/google_firebase1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebase1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_firebase1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firebase1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebase1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_firebase1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebase1_beta1/2.0.4+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 850f168faa..0af5cbd1b4 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebase1_beta1/src/client.rs b/gen/firebase1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebase1_beta1/src/client.rs +++ b/gen/firebase1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebase1_beta1/src/lib.rs b/gen/firebase1_beta1/src/lib.rs index 4ea1ce6ea5..39adaf257f 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.3+20210329*, where *20210329* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase Management* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com). diff --git a/gen/firebasedatabase1_beta-cli/Cargo.toml b/gen/firebasedatabase1_beta-cli/Cargo.toml index eabec330f7..e242b4d899 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/firebasedatabase1_beta-cli/README.md b/gen/firebasedatabase1_beta-cli/README.md index ac48a443d9..7af6b8ccb4 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.3*. +This documentation was generated from the *Firebase Realtime Database* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash firebasedatabase1-beta [options] diff --git a/gen/firebasedatabase1_beta-cli/mkdocs.yml b/gen/firebasedatabase1_beta-cli/mkdocs.yml index e0de325645..d6606d5a7b 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.3+20210329 +site_name: Firebase Realtime Database v2.0.4+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 6256b529f6..8242ed26fd 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.3+20210329") + .version("2.0.4+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 b8bce697fd..fcd8c52085 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-firebasedatabase1_beta/2.0.4+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 870d8e9f6e..2f1429d704 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.3+20210329*, where *20210329* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase) ... * projects - * [*locations instances create*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceDeleteCall), [*locations instances disable*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceDisableCall), [*locations instances get*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceListCall) and [*locations instances reenable*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceReenableCall) + * [*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) @@ -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.3+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase)** +* **[Hub](https://docs.rs/google-firebasedatabase1_beta/2.0.4+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.3+20210329/google_firebasedatabase1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasedatabase1_beta/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedatabase1_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebasedatabase1_beta/2.0.3+20210329/google_firebasedatabase1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasedatabase1_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_firebasedatabase1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebasedatabase1_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.3+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.4+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.3+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.4+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.3+20210329/google_firebasedatabase1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasedatabase1_beta/2.0.4+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 f4d401cf5c..02472ee2c2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebasedatabase1_beta/src/client.rs b/gen/firebasedatabase1_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebasedatabase1_beta/src/client.rs +++ b/gen/firebasedatabase1_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebasedatabase1_beta/src/lib.rs b/gen/firebasedatabase1_beta/src/lib.rs index 512a626c25..08ca87b6eb 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.3+20210329*, where *20210329* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/firebasedynamiclinks1-cli/Cargo.toml b/gen/firebasedynamiclinks1-cli/Cargo.toml index eab8dd2970..ddade47070 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/firebasedynamiclinks1-cli/README.md b/gen/firebasedynamiclinks1-cli/README.md index 40a387a27f..074d4859a0 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.3*. +This documentation was generated from the *Firebase Dynamic Links* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash firebasedynamiclinks1 [options] diff --git a/gen/firebasedynamiclinks1-cli/mkdocs.yml b/gen/firebasedynamiclinks1-cli/mkdocs.yml index 4588da8ec6..6364c9c708 100644 --- a/gen/firebasedynamiclinks1-cli/mkdocs.yml +++ b/gen/firebasedynamiclinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Dynamic Links v2.0.3+20210329 +site_name: Firebase Dynamic Links v2.0.4+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 f029e11498..afbb5506c4 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.3+20210329") + .version("2.0.4+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 a5654710ab..a88af2d4ef 100644 --- a/gen/firebasedynamiclinks1/Cargo.toml +++ b/gen/firebasedynamiclinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasedynamiclinks1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329" license = "MIT" keywords = ["firebasedynamiclinks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasedynamiclinks1/README.md b/gen/firebasedynamiclinks1/README.md index 67904b7a7f..285ed7ffed 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.3+20210329*, where *20210329* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks) ... -* [managed short links](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/api::ManagedShortLink) - * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/api::ManagedShortLinkCreateCall) +* [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) * short links - * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/api::ShortLinkCreateCall) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::ShortLinkCreateCall) Other activities are ... -* [get link stats](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/api::MethodGetLinkStatCall) -* [install attribution](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/api::MethodInstallAttributionCall) -* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/api::MethodReopenAttributionCall) +* [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) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks)** +* **[Hub](https://docs.rs/google-firebasedynamiclinks1/2.0.4+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.3+20210329/google_firebasedynamiclinks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/client::Part)** + * **[Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebasedynamiclinks1/2.0.3+20210329/google_firebasedynamiclinks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasedynamiclinks1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_firebasedynamiclinks1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasedynamiclinks1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_firebasedynamiclinks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasedynamiclinks1/2.0.4+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 aa507f09ba..61f194bbf2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebasedynamiclinks1/src/client.rs b/gen/firebasedynamiclinks1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebasedynamiclinks1/src/client.rs +++ b/gen/firebasedynamiclinks1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebasedynamiclinks1/src/lib.rs b/gen/firebasedynamiclinks1/src/lib.rs index 7bb77a0cb1..2f361170b4 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.3+20210329*, where *20210329* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase Dynamic Links* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/dynamic-links/). diff --git a/gen/firebasehosting1-cli/Cargo.toml b/gen/firebasehosting1-cli/Cargo.toml index 374864e5cf..892bf8bb7e 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/firebasehosting1-cli/README.md b/gen/firebasehosting1-cli/README.md index 2627cfb5dd..d3a92b04f8 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.3*. +This documentation was generated from the *Firebase Hosting* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash firebasehosting1 [options] diff --git a/gen/firebasehosting1-cli/mkdocs.yml b/gen/firebasehosting1-cli/mkdocs.yml index ec03e55a8e..0cb59a0c05 100644 --- a/gen/firebasehosting1-cli/mkdocs.yml +++ b/gen/firebasehosting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Hosting v2.0.3+20210315 +site_name: Firebase Hosting v2.0.4+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 00bc10e6bd..060a175d6c 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.3+20210315") + .version("2.0.4+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 b39db24a22..31a22726d1 100644 --- a/gen/firebasehosting1/Cargo.toml +++ b/gen/firebasehosting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasehosting1" -version = "2.0.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-firebasehosting1/2.0.4+20210315" license = "MIT" keywords = ["firebasehosting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasehosting1/README.md b/gen/firebasehosting1/README.md index f3e72f4bdf..331c6d4bb3 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.3+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_firebasehosting1/FirebaseHosting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/FirebaseHosting) ... -* [operations](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/api::Operation) - * [*cancel*](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/api::OperationListCall) +* [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) @@ -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.3+20210315/google_firebasehosting1/FirebaseHosting)** +* **[Hub](https://docs.rs/google-firebasehosting1/2.0.4+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.3+20210315/google_firebasehosting1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/client::Part)** + * **[Parts](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1/2.0.3+20210315/google_firebasehosting1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebasehosting1/2.0.3+20210315/google_firebasehosting1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasehosting1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_firebasehosting1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasehosting1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1/2.0.3+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.4+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.3+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.4+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.3+20210315/google_firebasehosting1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasehosting1/2.0.4+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 7c7649840d..cbacc83650 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebasehosting1/src/client.rs b/gen/firebasehosting1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebasehosting1/src/client.rs +++ b/gen/firebasehosting1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebasehosting1/src/lib.rs b/gen/firebasehosting1/src/lib.rs index 0669c3d112..00fe460a83 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.3+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase Hosting* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). diff --git a/gen/firebasehosting1_beta1-cli/Cargo.toml b/gen/firebasehosting1_beta1-cli/Cargo.toml index e9b0bff3ab..a07389e159 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.3+20210315" +version = "2.0.4+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.3+20210315" +version = "2.0.4+20210315" diff --git a/gen/firebasehosting1_beta1-cli/README.md b/gen/firebasehosting1_beta1-cli/README.md index b967b9a416..e0f746d657 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.3*. +This documentation was generated from the *Firebase Hosting* API at revision *20210315*. The CLI is at version *2.0.4*. ```bash firebasehosting1-beta1 [options] diff --git a/gen/firebasehosting1_beta1-cli/mkdocs.yml b/gen/firebasehosting1_beta1-cli/mkdocs.yml index e882574486..1226b5c7c8 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.3+20210315 +site_name: Firebase Hosting v2.0.4+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 fe00bce951..27b2949f46 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.3+20210315") + .version("2.0.4+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 6bc2596faa..b4e5a471eb 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.3+20210315" +version = "2.0.4+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.3+20210315" +documentation = "https://docs.rs/google-firebasehosting1_beta1/2.0.4+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 cb7fd4e280..138afffe5b 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.3+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210315/google_firebasehosting1_beta1/FirebaseHosting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/FirebaseHosting) ... * projects - * [*operations get*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectOperationGetCall), [*sites channels create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelCreateCall), [*sites channels delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelDeleteCall), [*sites channels get*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelGetCall), [*sites channels list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelListCall), [*sites channels patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelPatchCall), [*sites channels releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseCreateCall), [*sites channels releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseListCall), [*sites create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteCreateCall), [*sites delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteDeleteCall), [*sites domains create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainCreateCall), [*sites domains delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainDeleteCall), [*sites domains get*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainGetCall), [*sites domains list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainListCall), [*sites domains update*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainUpdateCall), [*sites get*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteGetCall), [*sites get config*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteGetConfigCall), [*sites list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteListCall), [*sites patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSitePatchCall), [*sites releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteReleaseCreateCall), [*sites releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteReleaseListCall), [*sites update config*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteUpdateConfigCall), [*sites versions clone*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionCloneCall), [*sites versions create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionCreateCall), [*sites versions delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionDeleteCall), [*sites versions files list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionFileListCall), [*sites versions list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionListCall), [*sites versions patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionPatchCall) and [*sites versions populate files*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionPopulateFileCall) -* [sites](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::Site) - * [*channels create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelCreateCall), [*channels delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelDeleteCall), [*channels get*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelGetCall), [*channels list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelListCall), [*channels patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelPatchCall), [*channels releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelReleaseCreateCall), [*channels releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteChannelReleaseListCall), [*domains create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteDomainCreateCall), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteDomainDeleteCall), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteDomainGetCall), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteDomainListCall), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteDomainUpdateCall), [*get config*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteGetConfigCall), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteReleaseCreateCall), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteReleaseListCall), [*update config*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteUpdateConfigCall), [*versions clone*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionCloneCall), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionCreateCall), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionDeleteCall), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionFileListCall), [*versions list*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionListCall), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionPatchCall) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/api::SiteVersionPopulateFileCall) + * [*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) @@ -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.3+20210315/google_firebasehosting1_beta1/FirebaseHosting)** +* **[Hub](https://docs.rs/google-firebasehosting1_beta1/2.0.4+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.3+20210315/google_firebasehosting1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasehosting1_beta1/2.0.4+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. @@ -156,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebasehosting1_beta1/2.0.3+20210315/google_firebasehosting1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasehosting1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210315/google_firebasehosting1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasehosting1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210315/google_firebasehosting1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasehosting1_beta1/2.0.4+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 bc03a826f7..595b443169 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebasehosting1_beta1/src/client.rs b/gen/firebasehosting1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebasehosting1_beta1/src/client.rs +++ b/gen/firebasehosting1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebasehosting1_beta1/src/lib.rs b/gen/firebasehosting1_beta1/src/lib.rs index e1f9fa45b0..fd5050010e 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.3+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase Hosting* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). diff --git a/gen/firebaseml1-cli/Cargo.toml b/gen/firebaseml1-cli/Cargo.toml index da715c4e2c..56821df31d 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/firebaseml1-cli/README.md b/gen/firebaseml1-cli/README.md index ccd636908b..cbfce04edf 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.3*. +This documentation was generated from the *Firebase ML* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash firebaseml1 [options] diff --git a/gen/firebaseml1-cli/mkdocs.yml b/gen/firebaseml1-cli/mkdocs.yml index a1b421452e..28dbec7353 100644 --- a/gen/firebaseml1-cli/mkdocs.yml +++ b/gen/firebaseml1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase ML v2.0.3+20210329 +site_name: Firebase ML v2.0.4+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 bde40dafed..b188ccabea 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.3+20210329") + .version("2.0.4+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 42ad7ddfd6..a64fb7ffd2 100644 --- a/gen/firebaseml1/Cargo.toml +++ b/gen/firebaseml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseml1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-firebaseml1/2.0.4+20210329" license = "MIT" keywords = ["firebaseml", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebaseml1/README.md b/gen/firebaseml1/README.md index ebaf9e1669..4d97d704b9 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.3+20210329*, where *20210329* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_firebaseml1/FirebaseML) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/FirebaseML) ... -* [operations](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/api::Operation) - * [*cancel*](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/api::OperationListCall) +* [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) @@ -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.3+20210329/google_firebaseml1/FirebaseML)** +* **[Hub](https://docs.rs/google-firebaseml1/2.0.4+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.3+20210329/google_firebaseml1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/client::Part)** + * **[Parts](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseml1/2.0.3+20210329/google_firebaseml1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseml1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebaseml1/2.0.3+20210329/google_firebaseml1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseml1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_firebaseml1/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseml1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseml1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_firebaseml1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseml1/2.0.4+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 c36e48e67a..47b6088662 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebaseml1/src/client.rs b/gen/firebaseml1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebaseml1/src/client.rs +++ b/gen/firebaseml1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebaseml1/src/lib.rs b/gen/firebaseml1/src/lib.rs index f6d6515e8f..78a3a95154 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.3+20210329*, where *20210329* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase ML* *v1* API can be found at the //! [official documentation site](https://firebase.google.com). diff --git a/gen/firebaseremoteconfig1-cli/Cargo.toml b/gen/firebaseremoteconfig1-cli/Cargo.toml index b48038fa64..0e656067ec 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.3+20171129" +version = "2.0.4+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.3+20171129" +version = "2.0.4+20171129" diff --git a/gen/firebaseremoteconfig1-cli/README.md b/gen/firebaseremoteconfig1-cli/README.md index 3179236e70..3413a7ef90 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.3*. +This documentation was generated from the *Firebase Remote Config* API at revision *20171129*. The CLI is at version *2.0.4*. ```bash firebaseremoteconfig1 [options] diff --git a/gen/firebaseremoteconfig1-cli/mkdocs.yml b/gen/firebaseremoteconfig1-cli/mkdocs.yml index 9b3a9b6280..ebdf5f9412 100644 --- a/gen/firebaseremoteconfig1-cli/mkdocs.yml +++ b/gen/firebaseremoteconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Remote Config v2.0.3+20171129 +site_name: Firebase Remote Config v2.0.4+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 c1ef2f0463..013c6d2d7a 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.3+20171129") + .version("2.0.4+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 3835ea15d5..344dd66ef7 100644 --- a/gen/firebaseremoteconfig1/Cargo.toml +++ b/gen/firebaseremoteconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseremoteconfig1" -version = "2.0.3+20171129" +version = "2.0.4+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.3+20171129" +documentation = "https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129" license = "MIT" keywords = ["firebaseremoteconfig", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebaseremoteconfig1/README.md b/gen/firebaseremoteconfig1/README.md index ac49799a5f..5d39554b68 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.3+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig) ... * projects - * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/api::ProjectGetRemoteConfigCall) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/api::ProjectUpdateRemoteConfigCall) + * [*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) @@ -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.3+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig)** +* **[Hub](https://docs.rs/google-firebaseremoteconfig1/2.0.4+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.3+20171129/google_firebaseremoteconfig1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/client::Part)** + * **[Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebaseremoteconfig1/2.0.3+20171129/google_firebaseremoteconfig1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseremoteconfig1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20171129/google_firebaseremoteconfig1/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseremoteconfig1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.3+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.4+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.3+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.4+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.3+20171129/google_firebaseremoteconfig1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseremoteconfig1/2.0.4+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 36bed640d1..0004f78ae3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebaseremoteconfig1/src/client.rs b/gen/firebaseremoteconfig1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebaseremoteconfig1/src/client.rs +++ b/gen/firebaseremoteconfig1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebaseremoteconfig1/src/lib.rs b/gen/firebaseremoteconfig1/src/lib.rs index 4225f6f2dd..7b2f856f61 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.3+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebase Remote Config* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/remote-config/). diff --git a/gen/firebasestorage1_beta-cli/Cargo.toml b/gen/firebasestorage1_beta-cli/Cargo.toml index 6e0cee6fc8..9b814bd6e7 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/firebasestorage1_beta-cli/README.md b/gen/firebasestorage1_beta-cli/README.md index f921cb1821..77c16b2fb4 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.3*. +This documentation was generated from the *Firebasestorage* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash firebasestorage1-beta [options] diff --git a/gen/firebasestorage1_beta-cli/mkdocs.yml b/gen/firebasestorage1_beta-cli/mkdocs.yml index dbb87e212d..14d3599f57 100644 --- a/gen/firebasestorage1_beta-cli/mkdocs.yml +++ b/gen/firebasestorage1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebasestorage v2.0.3+20210329 +site_name: Firebasestorage v2.0.4+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 97a77efd46..5c32464c3f 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.3+20210329") + .version("2.0.4+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 2ea930a47f..82fd464a36 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-firebasestorage1_beta/2.0.4+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 c54b91093c..79a3bdc0d5 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.3+20210329*, where *20210329* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_firebasestorage1_beta/Firebasestorage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/Firebasestorage) ... * projects - * [*buckets add firebase*](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/api::ProjectBucketAddFirebaseCall), [*buckets get*](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/api::ProjectBucketGetCall), [*buckets list*](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/api::ProjectBucketListCall) and [*buckets remove firebase*](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/api::ProjectBucketRemoveFirebaseCall) + * [*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) @@ -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.3+20210329/google_firebasestorage1_beta/Firebasestorage)** +* **[Hub](https://docs.rs/google-firebasestorage1_beta/2.0.4+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.3+20210329/google_firebasestorage1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasestorage1_beta/2.0.4+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. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasestorage1_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firebasestorage1_beta/2.0.3+20210329/google_firebasestorage1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasestorage1_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_firebasestorage1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebasestorage1_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasestorage1_beta/2.0.3+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.4+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.3+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.4+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.3+20210329/google_firebasestorage1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasestorage1_beta/2.0.4+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 1d93476590..dde24dba39 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firebasestorage1_beta/src/client.rs b/gen/firebasestorage1_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firebasestorage1_beta/src/client.rs +++ b/gen/firebasestorage1_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firebasestorage1_beta/src/lib.rs b/gen/firebasestorage1_beta/src/lib.rs index 3ac9d90485..7a965f502b 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.3+20210329*, where *20210329* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firebasestorage* *v1_beta* API can be found at the //! [official documentation site](https://firebase.google.com/docs/storage). diff --git a/gen/firestore1-cli/Cargo.toml b/gen/firestore1-cli/Cargo.toml index 7a3f304060..a13662edb5 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/firestore1-cli/README.md b/gen/firestore1-cli/README.md index 1b2d6ca3a3..bd6733897b 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.3*. +This documentation was generated from the *Firestore* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash firestore1 [options] diff --git a/gen/firestore1-cli/mkdocs.yml b/gen/firestore1-cli/mkdocs.yml index 0bf6681680..5a9351b505 100644 --- a/gen/firestore1-cli/mkdocs.yml +++ b/gen/firestore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v2.0.3+20210317 +site_name: Firestore v2.0.4+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 2dad65bbbc..bcf22f0426 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.3+20210317") + .version("2.0.4+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 8429725090..3232e8c5cc 100644 --- a/gen/firestore1/Cargo.toml +++ b/gen/firestore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1" -version = "2.0.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-firestore1/2.0.4+20210317" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firestore1/README.md b/gen/firestore1/README.md index 82925404fb..d5016d3dca 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.3+20210317*, where *20210317* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_firestore1/Firestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/Firestore) ... * projects - * [*databases collection groups fields get*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldGetCall), [*databases collection groups fields list*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldListCall), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldPatchCall), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeCreateCall), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeDeleteCall), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeGetCall), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeListCall), [*databases documents batch get*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseImportDocumentCall), [*databases operations cancel*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseOperationCancelCall), [*databases operations delete*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseOperationDeleteCall), [*databases operations get*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseOperationGetCall), [*databases operations list*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectDatabaseOperationListCall), [*locations get*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210317/google_firestore1/Firestore)** +* **[Hub](https://docs.rs/google-firestore1/2.0.4+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.3+20210317/google_firestore1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/client::Part)** + * **[Parts](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1/2.0.3+20210317/google_firestore1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-firestore1/2.0.3+20210317/google_firestore1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firestore1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_firestore1/client::RequestValue) and -[decodable](https://docs.rs/google-firestore1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firestore1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_firestore1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firestore1/2.0.4+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 e599717386..5f3bb5f7ca 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firestore1/src/client.rs b/gen/firestore1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firestore1/src/client.rs +++ b/gen/firestore1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firestore1/src/lib.rs b/gen/firestore1/src/lib.rs index 034d4676d4..15424f24ea 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.3+20210317*, where *20210317* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). diff --git a/gen/firestore1_beta1-cli/Cargo.toml b/gen/firestore1_beta1-cli/Cargo.toml index 4c677199f0..c96e83f6cc 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/firestore1_beta1-cli/README.md b/gen/firestore1_beta1-cli/README.md index 2255db7531..5754005445 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.3*. +This documentation was generated from the *Firestore* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash firestore1-beta1 [options] diff --git a/gen/firestore1_beta1-cli/mkdocs.yml b/gen/firestore1_beta1-cli/mkdocs.yml index 977dda700e..d41d46942b 100644 --- a/gen/firestore1_beta1-cli/mkdocs.yml +++ b/gen/firestore1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v2.0.3+20210317 +site_name: Firestore v2.0.4+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 45f4779d75..cb307aeed3 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.3+20210317") + .version("2.0.4+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 79c7bde45c..698af219ef 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.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-firestore1_beta1/2.0.4+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 694d9e48a6..7d704f2bc1 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.3+20210317*, where *20210317* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_firestore1_beta1/Firestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/Firestore) ... * projects - * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseImportDocumentCall), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeCreateCall), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeDeleteCall), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeGetCall) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeListCall) + * [*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) @@ -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.3+20210317/google_firestore1_beta1/Firestore)** +* **[Hub](https://docs.rs/google-firestore1_beta1/2.0.4+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.3+20210317/google_firestore1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1_beta1/2.0.3+20210317/google_firestore1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firestore1_beta1/2.0.4+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. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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_beta1/2.0.3+20210317/google_firestore1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firestore1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_firestore1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firestore1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firestore1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_firestore1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firestore1_beta1/2.0.4+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 914bb60714..08e8e9b904 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/firestore1_beta1/src/client.rs b/gen/firestore1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/firestore1_beta1/src/client.rs +++ b/gen/firestore1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/firestore1_beta1/src/lib.rs b/gen/firestore1_beta1/src/lib.rs index 46178990a1..066512e8c3 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.3+20210317*, where *20210317* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Firestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). diff --git a/gen/fitness1-cli/Cargo.toml b/gen/fitness1-cli/Cargo.toml index 76bab8c874..c87d0e8e74 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/fitness1-cli/README.md b/gen/fitness1-cli/README.md index 8af71cec88..ed5a0fca2f 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.3*. +This documentation was generated from the *fitness* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash fitness1 [options] diff --git a/gen/fitness1-cli/mkdocs.yml b/gen/fitness1-cli/mkdocs.yml index 3b7eba197f..dbe0f81f66 100644 --- a/gen/fitness1-cli/mkdocs.yml +++ b/gen/fitness1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fitness v2.0.3+20210323 +site_name: fitness v2.0.4+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 dd4d55098c..b8b852d4be 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.3+20210323") + .version("2.0.4+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 b9d0ad6782..11e5b90506 100644 --- a/gen/fitness1/Cargo.toml +++ b/gen/fitness1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fitness1" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-fitness1/2.0.4+20210323" license = "MIT" keywords = ["fitness", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/fitness1/README.md b/gen/fitness1/README.md index 8f3897ac06..e6bc72b2b0 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.3+20210323*, where *20210323* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_fitness1/Fitness) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/Fitness) ... * users - * [*data sources create*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceCreateCall), [*data sources data point changes list*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceDataPointChangeListCall), [*data sources datasets delete*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceDatasetDeleteCall), [*data sources datasets get*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceDatasetGetCall), [*data sources datasets patch*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceDatasetPatchCall), [*data sources delete*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceDeleteCall), [*data sources get*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceGetCall), [*data sources list*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceListCall), [*data sources update*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDataSourceUpdateCall), [*dataset aggregate*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserDatasetAggregateCall), [*sessions delete*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserSessionDeleteCall), [*sessions list*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserSessionListCall) and [*sessions update*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/api::UserSessionUpdateCall) + * [*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) @@ -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.3+20210323/google_fitness1/Fitness)** +* **[Hub](https://docs.rs/google-fitness1/2.0.4+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.3+20210323/google_fitness1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/client::Part)** + * **[Parts](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fitness1/2.0.3+20210323/google_fitness1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-fitness1/2.0.3+20210323/google_fitness1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fitness1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_fitness1/client::RequestValue) and -[decodable](https://docs.rs/google-fitness1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fitness1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_fitness1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fitness1/2.0.4+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 5628750349..a92e55429e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/fitness1/src/client.rs b/gen/fitness1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/fitness1/src/client.rs +++ b/gen/fitness1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/fitness1/src/lib.rs b/gen/fitness1/src/lib.rs index be987004d1..30838a9627 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.3+20210323*, where *20210323* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *fitness* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fit/rest/v1/get-started). diff --git a/gen/fusiontables2-cli/Cargo.toml b/gen/fusiontables2-cli/Cargo.toml index 9ddf6cdeea..7fde56c456 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.3+20171117" +version = "2.0.4+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.3+20171117" +version = "2.0.4+20171117" diff --git a/gen/fusiontables2-cli/README.md b/gen/fusiontables2-cli/README.md index a2d268f63d..b9a9cd2365 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.3*. +This documentation was generated from the *fusiontables* API at revision *20171117*. The CLI is at version *2.0.4*. ```bash fusiontables2 [options] diff --git a/gen/fusiontables2-cli/mkdocs.yml b/gen/fusiontables2-cli/mkdocs.yml index 6dfce8c968..d827879557 100644 --- a/gen/fusiontables2-cli/mkdocs.yml +++ b/gen/fusiontables2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fusiontables v2.0.3+20171117 +site_name: fusiontables v2.0.4+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 27a485d1b6..2965d7d9c6 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.3+20171117") + .version("2.0.4+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 ac1944e628..437cddff41 100644 --- a/gen/fusiontables2/Cargo.toml +++ b/gen/fusiontables2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fusiontables2" -version = "2.0.3+20171117" +version = "2.0.4+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.3+20171117" +documentation = "https://docs.rs/google-fusiontables2/2.0.4+20171117" license = "MIT" keywords = ["fusiontables", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/fusiontables2/README.md b/gen/fusiontables2/README.md index 7016dbc875..4d60727cd5 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.3+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20171117/google_fusiontables2/Fusiontables) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/Fusiontables) ... -* [column](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::Column) - * [*delete*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::ColumnDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::ColumnGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::ColumnInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::ColumnListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::ColumnPatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::ColumnUpdateCall) +* [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) * query - * [*sql*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::QuerySqlCall) and [*sql get*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::QuerySqlGetCall) + * [*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) * style - * [*delete*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::StyleDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::StyleGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::StyleInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::StyleListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::StylePatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::StyleUpdateCall) -* [table](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::Table) - * [*copy*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableCopyCall), [*delete*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableGetCall), [*import rows*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableImportRowCall), [*import table*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableImportTableCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TablePatchCall), [*refetch sheet*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableRefetchSheetCall), [*replace rows*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableReplaceRowCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableUpdateCall) -* [task](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::Task) - * [*delete*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TaskDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TaskGetCall) and [*list*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TaskListCall) -* [template](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::Template) - * [*delete*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TemplateGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TemplateInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TemplateListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TemplatePatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TemplateUpdateCall) + * [*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) Upload supported by ... -* [*import rows table*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableImportRowCall) -* [*import table table*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableImportTableCall) -* [*replace rows table*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::TableReplaceRowCall) +* [*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) Download supported by ... -* [*sql query*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::QuerySqlCall) -* [*sql get query*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/api::QuerySqlGetCall) +* [*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) @@ -44,17 +44,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/Fusiontables)** +* **[Hub](https://docs.rs/google-fusiontables2/2.0.4+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.3+20171117/google_fusiontables2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/client::CallBuilder) -* **[Resources](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/client::Part)** + * **[Parts](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fusiontables2/2.0.3+20171117/google_fusiontables2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -155,17 +155,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-fusiontables2/2.0.3+20171117/google_fusiontables2/client::Delegate) to the -[Method Builder](https://docs.rs/google-fusiontables2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20171117/google_fusiontables2/client::RequestValue) and -[decodable](https://docs.rs/google-fusiontables2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/2.0.3+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.4+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.3+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.4+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.3+20171117/google_fusiontables2/client::RequestValue) are moved +* [request values](https://docs.rs/google-fusiontables2/2.0.4+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 5eb6e89073..336884fd88 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/fusiontables2/src/client.rs b/gen/fusiontables2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/fusiontables2/src/client.rs +++ b/gen/fusiontables2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/fusiontables2/src/lib.rs b/gen/fusiontables2/src/lib.rs index d7296a2019..04f78854dd 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.3+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *fusiontables* *v2* API can be found at the //! [official documentation site](https://developers.google.com/fusiontables). diff --git a/gen/games1-cli/Cargo.toml b/gen/games1-cli/Cargo.toml index b0b3582538..2e973d4f2e 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/games1-cli/README.md b/gen/games1-cli/README.md index db8fc6f786..088369a425 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.3*. +This documentation was generated from the *Games* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash games1 [options] diff --git a/gen/games1-cli/mkdocs.yml b/gen/games1-cli/mkdocs.yml index af2bcb68af..c74406810c 100644 --- a/gen/games1-cli/mkdocs.yml +++ b/gen/games1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games v2.0.3+20210325 +site_name: Games v2.0.4+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 430031aa49..b95f028e39 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.3+20210325") + .version("2.0.4+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 77f0c3c990..b12107a1a8 100644 --- a/gen/games1/Cargo.toml +++ b/gen/games1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-games1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-games1/2.0.4+20210325" license = "MIT" keywords = ["games", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/games1/README.md b/gen/games1/README.md index 078ec7a126..b68d2927a3 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.3+20210325*, where *20210325* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_games1/Games) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/2.0.4+20210325/google_games1/Games) ... -* [achievement definitions](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementDefinition) - * [*list*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementDefinitionListCall) +* [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) * achievements - * [*increment*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementIncrementCall), [*list*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementListCall), [*reveal*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementRevealCall), [*set steps at least*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementSetStepsAtLeastCall), [*unlock*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementUnlockCall) and [*update multiple*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::AchievementUpdateMultipleCall) -* [applications](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::Application) - * [*get*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ApplicationGetCall), [*get end point*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ApplicationGetEndPointCall), [*played*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ApplicationPlayedCall) and [*verify*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ApplicationVerifyCall) + * [*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) * events - * [*list by player*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::EventListByPlayerCall), [*list definitions*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::EventListDefinitionCall) and [*record*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::EventRecordCall) -* [leaderboards](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::Leaderboard) - * [*get*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::LeaderboardGetCall) and [*list*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::LeaderboardListCall) + * [*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) * metagame - * [*get metagame config*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::MetagameGetMetagameConfigCall) and [*list categories by player*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::MetagameListCategoriesByPlayerCall) -* [players](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::Player) - * [*get*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::PlayerGetCall) and [*list*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::PlayerListCall) + * [*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) * revisions - * [*check*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::RevisionCheckCall) + * [*check*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::RevisionCheckCall) * scores - * [*get*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ScoreGetCall), [*list*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ScoreListCall), [*list window*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ScoreListWindowCall), [*submit*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ScoreSubmitCall) and [*submit multiple*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::ScoreSubmitMultipleCall) -* [snapshots](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::Snapshot) - * [*get*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::SnapshotGetCall) and [*list*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::SnapshotListCall) + * [*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) * snapshots extended - * [*resolve snapshot head*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::SnapshotsExtendedResolveSnapshotHeadCall) + * [*resolve snapshot head*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::SnapshotsExtendedResolveSnapshotHeadCall) * stats - * [*get*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/api::StatGetCall) + * [*get*](https://docs.rs/google-games1/2.0.4+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.3+20210325/google_games1/Games)** +* **[Hub](https://docs.rs/google-games1/2.0.4+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.3+20210325/google_games1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-games1/2.0.3+20210325/google_games1/client::CallBuilder) -* **[Resources](https://docs.rs/google-games1/2.0.3+20210325/google_games1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-games1/2.0.3+20210325/google_games1/client::Part)** + * **[Parts](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-games1/2.0.3+20210325/google_games1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-games1/2.0.3+20210325/google_games1/client::Delegate) to the -[Method Builder](https://docs.rs/google-games1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_games1/client::RequestValue) and -[decodable](https://docs.rs/google-games1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-games1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_games1/client::RequestValue) are moved +* [request values](https://docs.rs/google-games1/2.0.4+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 e72547fe5d..6ff5b4a700 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/games1/src/client.rs b/gen/games1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/games1/src/client.rs +++ b/gen/games1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs index cb7e378cc2..f81fd0848d 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.3+20210325*, where *20210325* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Games* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/). diff --git a/gen/gamesconfiguration1_configuration-cli/Cargo.toml b/gen/gamesconfiguration1_configuration-cli/Cargo.toml index 7f00e8d462..ac6033e15f 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/gamesconfiguration1_configuration-cli/README.md b/gen/gamesconfiguration1_configuration-cli/README.md index d6748d0d7c..1fce73a867 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.3*. +This documentation was generated from the *Games Configuration* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash gamesconfiguration1-configuration [options] diff --git a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml index 0666a55ac5..e7c535fe52 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.3+20210325 +site_name: Games Configuration v2.0.4+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 a1101aac67..2557ceb522 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.3+20210325") + .version("2.0.4+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 be83f8b5ff..acbf98dcd3 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.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+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 25c084e432..06d479b9e7 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.3+20210325*, where *20210325* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_gamesconfiguration1_configuration/GamesConfiguration) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/GamesConfiguration) ... -* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::AchievementConfiguration) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationUpdateCall) -* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::ImageConfiguration) - * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) -* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfiguration) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationUpdateCall) +* [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) Upload supported by ... -* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) +* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+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.3+20210325/google_gamesconfiguration1_configuration/GamesConfiguration)** +* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+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.3+20210325/google_gamesconfiguration1_configuration/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/client::CallBuilder) -* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/client::Part)** + * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+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. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gamesconfiguration1_configuration/2.0.3+20210325/google_gamesconfiguration1_configuration/client::Delegate) to the -[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_gamesconfiguration1_configuration/client::RequestValue) and -[decodable](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.3+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.4+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.3+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.4+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.3+20210325/google_gamesconfiguration1_configuration/client::RequestValue) are moved +* [request values](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+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 0c9177f806..5a3eadc31d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gamesconfiguration1_configuration/src/client.rs b/gen/gamesconfiguration1_configuration/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gamesconfiguration1_configuration/src/client.rs +++ b/gen/gamesconfiguration1_configuration/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs b/gen/gamesconfiguration1_configuration/src/lib.rs index c88e79359a..ae3728e70c 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.3+20210325*, where *20210325* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Games Configuration* *v1_configuration* API can be found at the //! [official documentation site](https://developers.google.com/games/). diff --git a/gen/gameservices1-cli/Cargo.toml b/gen/gameservices1-cli/Cargo.toml index fc3ecdd1b5..44f8765953 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.3+20210312" +version = "2.0.4+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.3+20210312" +version = "2.0.4+20210312" diff --git a/gen/gameservices1-cli/README.md b/gen/gameservices1-cli/README.md index 1b633e6f92..749b47d2a1 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.3*. +This documentation was generated from the *Game Services* API at revision *20210312*. The CLI is at version *2.0.4*. ```bash gameservices1 [options] diff --git a/gen/gameservices1-cli/mkdocs.yml b/gen/gameservices1-cli/mkdocs.yml index 61b0acbcd9..600222ca59 100644 --- a/gen/gameservices1-cli/mkdocs.yml +++ b/gen/gameservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Game Services v2.0.3+20210312 +site_name: Game Services v2.0.4+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 6410c6ae12..77eb66e109 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.3+20210312") + .version("2.0.4+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 c0b842eef0..177f95f0cd 100644 --- a/gen/gameservices1/Cargo.toml +++ b/gen/gameservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gameservices1" -version = "2.0.3+20210312" +version = "2.0.4+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.3+20210312" +documentation = "https://docs.rs/google-gameservices1/2.0.4+20210312" license = "MIT" keywords = ["gameservices", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gameservices1/README.md b/gen/gameservices1/README.md index 5856c90048..fe2ddf1988 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.3+20210312*, where *20210312* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210312/google_gameservices1/GameServices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/GameServices) ... * projects - * [*locations game server deployments configs create*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigCreateCall), [*locations game server deployments configs delete*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigDeleteCall), [*locations game server deployments configs get*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigGetCall), [*locations game server deployments configs list*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigListCall), [*locations game server deployments create*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentCreateCall), [*locations game server deployments delete*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentDeleteCall), [*locations game server deployments fetch deployment state*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentFetchDeploymentStateCall), [*locations game server deployments get*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetCall), [*locations game server deployments get iam policy*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetIamPolicyCall), [*locations game server deployments get rollout*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetRolloutCall), [*locations game server deployments list*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentListCall), [*locations game server deployments patch*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentPatchCall), [*locations game server deployments preview rollout*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentPreviewRolloutCall), [*locations game server deployments set iam policy*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentSetIamPolicyCall), [*locations game server deployments test iam permissions*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentTestIamPermissionCall), [*locations game server deployments update rollout*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentUpdateRolloutCall), [*locations get*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationOperationListCall), [*locations realms create*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmCreateCall), [*locations realms delete*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmDeleteCall), [*locations realms game server clusters create*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterCreateCall), [*locations realms game server clusters delete*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterDeleteCall), [*locations realms game server clusters get*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterGetCall), [*locations realms game server clusters list*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterListCall), [*locations realms game server clusters patch*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPatchCall), [*locations realms game server clusters preview create*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewCreateCall), [*locations realms game server clusters preview delete*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewDeleteCall), [*locations realms game server clusters preview update*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewUpdateCall), [*locations realms get*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmGetCall), [*locations realms list*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmListCall), [*locations realms patch*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmPatchCall) and [*locations realms preview update*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/api::ProjectLocationRealmPreviewUpdateCall) + * [*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) @@ -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.3+20210312/google_gameservices1/GameServices)** +* **[Hub](https://docs.rs/google-gameservices1/2.0.4+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.3+20210312/google_gameservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/client::Part)** + * **[Parts](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gameservices1/2.0.3+20210312/google_gameservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gameservices1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gameservices1/2.0.3+20210312/google_gameservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gameservices1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210312/google_gameservices1/client::RequestValue) and -[decodable](https://docs.rs/google-gameservices1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gameservices1/2.0.3+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.4+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.3+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.4+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.3+20210312/google_gameservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gameservices1/2.0.4+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 9737c299b9..8ea2ff65e2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gameservices1/src/client.rs b/gen/gameservices1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gameservices1/src/client.rs +++ b/gen/gameservices1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gameservices1/src/lib.rs b/gen/gameservices1/src/lib.rs index a5e0de9b86..dfbc884fc7 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.3+20210312*, where *20210312* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Game Services* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/solutions/gaming/). diff --git a/gen/gamesmanagement1_management-cli/Cargo.toml b/gen/gamesmanagement1_management-cli/Cargo.toml index 3b539ac186..4cf7559366 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/gamesmanagement1_management-cli/README.md b/gen/gamesmanagement1_management-cli/README.md index 43a9c02bc6..a084bada96 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.3*. +This documentation was generated from the *Games Management* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash gamesmanagement1-management [options] diff --git a/gen/gamesmanagement1_management-cli/mkdocs.yml b/gen/gamesmanagement1_management-cli/mkdocs.yml index c103ee2ea0..5fc06c718b 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.3+20210325 +site_name: Games Management v2.0.4+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 6330c61b42..b0354d2933 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.3+20210325") + .version("2.0.4+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 16bda524b4..6a94a9954b 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.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-gamesmanagement1_management/2.0.4+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 9e75491eea..5d5399aa0d 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.3+20210325*, where *20210325* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_gamesmanagement1_management/GamesManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/GamesManagement) ... * achievements - * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::AchievementResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::AchievementResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::AchievementResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::AchievementResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::AchievementResetMultipleForAllPlayerCall) + * [*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) * applications - * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::ApplicationListHiddenCall) + * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ApplicationListHiddenCall) * events - * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::EventResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::EventResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::EventResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::EventResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::EventResetMultipleForAllPlayerCall) -* [players](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::Player) - * [*hide*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::PlayerHideCall) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::PlayerUnhideCall) + * [*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) * scores - * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::ScoreResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::ScoreResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::ScoreResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::ScoreResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/api::ScoreResetMultipleForAllPlayerCall) + * [*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) @@ -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.3+20210325/google_gamesmanagement1_management/GamesManagement)** +* **[Hub](https://docs.rs/google-gamesmanagement1_management/2.0.4+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.3+20210325/google_gamesmanagement1_management/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/client::CallBuilder) -* **[Resources](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/client::Part)** + * **[Parts](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gamesmanagement1_management/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gamesmanagement1_management/2.0.3+20210325/google_gamesmanagement1_management/client::Delegate) to the -[Method Builder](https://docs.rs/google-gamesmanagement1_management/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_gamesmanagement1_management/client::RequestValue) and -[decodable](https://docs.rs/google-gamesmanagement1_management/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/2.0.3+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.4+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.3+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.4+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.3+20210325/google_gamesmanagement1_management/client::RequestValue) are moved +* [request values](https://docs.rs/google-gamesmanagement1_management/2.0.4+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 d30d3c412c..5db6470fba 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gamesmanagement1_management/src/client.rs b/gen/gamesmanagement1_management/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gamesmanagement1_management/src/client.rs +++ b/gen/gamesmanagement1_management/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gamesmanagement1_management/src/lib.rs b/gen/gamesmanagement1_management/src/lib.rs index f6bffee3a7..567733d911 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.3+20210325*, where *20210325* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Games Management* *v1_management* API can be found at the //! [official documentation site](https://developers.google.com/games/). diff --git a/gen/gan1_beta1-cli/Cargo.toml b/gen/gan1_beta1-cli/Cargo.toml index 96db48c84b..511545e887 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.3+20130205" +version = "2.0.4+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.3+20130205" +version = "2.0.4+20130205" diff --git a/gen/gan1_beta1-cli/README.md b/gen/gan1_beta1-cli/README.md index 1a25bed3d4..331e870d4a 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.3*. +This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *2.0.4*. ```bash gan1-beta1 [options] diff --git a/gen/gan1_beta1-cli/mkdocs.yml b/gen/gan1_beta1-cli/mkdocs.yml index 9d444e91c5..c80dff5322 100644 --- a/gen/gan1_beta1-cli/mkdocs.yml +++ b/gen/gan1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: gan v2.0.3+20130205 +site_name: gan v2.0.4+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 e680a78e94..10e515fd2c 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.3+20130205") + .version("2.0.4+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 fa55aad6d4..f7b1f7b0be 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.3+20130205" +version = "2.0.4+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.3+20130205" +documentation = "https://docs.rs/google-gan1_beta1/2.0.4+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 05b57aaf67..e539a35ba0 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.3+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20130205/google_gan1_beta1/Gan) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/Gan) ... -* [advertisers](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::Advertiser) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::AdvertiserGetCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::AdvertiserListCall) -* [cc offers](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::CcOffer) - * [*list*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::CcOfferListCall) -* [events](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::Event) - * [*list*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::EventListCall) -* [links](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::Link) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::LinkGetCall), [*insert*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::LinkInsertCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::LinkListCall) -* [publishers](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::Publisher) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::PublisherGetCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::PublisherListCall) -* [reports](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::Report) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/api::ReportGetCall) +* [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) @@ -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.3+20130205/google_gan1_beta1/Gan)** +* **[Hub](https://docs.rs/google-gan1_beta1/2.0.4+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.3+20130205/google_gan1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gan1_beta1/2.0.3+20130205/google_gan1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gan1_beta1/2.0.4+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. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gan1_beta1/2.0.3+20130205/google_gan1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gan1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20130205/google_gan1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-gan1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/2.0.3+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.4+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.3+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.4+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.3+20130205/google_gan1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gan1_beta1/2.0.4+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 294ab4ed46..42b6edeadf 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gan1_beta1/src/client.rs b/gen/gan1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gan1_beta1/src/client.rs +++ b/gen/gan1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gan1_beta1/src/lib.rs b/gen/gan1_beta1/src/lib.rs index 18007d9014..5bc65e5803 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.3+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *gan* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/affiliate-network/). diff --git a/gen/genomics1-cli/Cargo.toml b/gen/genomics1-cli/Cargo.toml index 3dcb663614..dc90365665 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/genomics1-cli/README.md b/gen/genomics1-cli/README.md index 90853e7eb0..85a5524fe9 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.3*. +This documentation was generated from the *genomics* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash genomics1 [options] diff --git a/gen/genomics1-cli/mkdocs.yml b/gen/genomics1-cli/mkdocs.yml index 70860b7bc6..c7793b361d 100644 --- a/gen/genomics1-cli/mkdocs.yml +++ b/gen/genomics1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: genomics v2.0.3+20210324 +site_name: genomics v2.0.4+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 f9372b4593..84d0bd7b2a 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.3+20210324") + .version("2.0.4+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 e2c38d1aeb..68bdccf058 100644 --- a/gen/genomics1/Cargo.toml +++ b/gen/genomics1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-genomics1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-genomics1/2.0.4+20210324" license = "MIT" keywords = ["genomics", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/genomics1/README.md b/gen/genomics1/README.md index c7f21aa700..0af488ddb3 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.3+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_genomics1/Genomics) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/Genomics) ... -* [operations](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/api::Operation) - * [*cancel*](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/api::OperationCancelCall), [*get*](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/api::OperationGetCall) and [*list*](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/api::OperationListCall) +* [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) @@ -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.3+20210324/google_genomics1/Genomics)** +* **[Hub](https://docs.rs/google-genomics1/2.0.4+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.3+20210324/google_genomics1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/client::CallBuilder) -* **[Resources](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/client::Part)** + * **[Parts](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-genomics1/2.0.3+20210324/google_genomics1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-genomics1/2.0.3+20210324/google_genomics1/client::Delegate) to the -[Method Builder](https://docs.rs/google-genomics1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_genomics1/client::RequestValue) and -[decodable](https://docs.rs/google-genomics1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-genomics1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_genomics1/client::RequestValue) are moved +* [request values](https://docs.rs/google-genomics1/2.0.4+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 251a039dfe..b673c8809f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/genomics1/src/client.rs b/gen/genomics1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/genomics1/src/client.rs +++ b/gen/genomics1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/genomics1/src/lib.rs b/gen/genomics1/src/lib.rs index 610777eafd..7a8497ce32 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.3+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *genomics* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/genomics). diff --git a/gen/gkehub1-cli/Cargo.toml b/gen/gkehub1-cli/Cargo.toml index b3ca44751f..d315ac12a3 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/gkehub1-cli/README.md b/gen/gkehub1-cli/README.md index 4b3de18de4..1c9ccba25b 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.3*. +This documentation was generated from the *GKE Hub* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash gkehub1 [options] diff --git a/gen/gkehub1-cli/mkdocs.yml b/gen/gkehub1-cli/mkdocs.yml index c5f05bd167..313a0f4c16 100644 --- a/gen/gkehub1-cli/mkdocs.yml +++ b/gen/gkehub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: GKE Hub v2.0.3+20210322 +site_name: GKE Hub v2.0.4+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 12d008d744..9ec7ec4d20 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.3+20210322") + .version("2.0.4+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 54887c5189..5dfe0f9a9c 100644 --- a/gen/gkehub1/Cargo.toml +++ b/gen/gkehub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gkehub1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-gkehub1/2.0.4+20210322" license = "MIT" keywords = ["gkehub", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gkehub1/README.md b/gen/gkehub1/README.md index ff4ff64cb9..eb3417fd49 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.3+20210322*, where *20210322* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_gkehub1/GKEHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/GKEHub) ... * projects - * [*locations get*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationListCall), [*locations memberships create*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipCreateCall), [*locations memberships delete*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipDeleteCall), [*locations memberships generate connect manifest*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipGenerateConnectManifestCall), [*locations memberships get*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipGetCall), [*locations memberships get iam policy*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipGetIamPolicyCall), [*locations memberships list*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipListCall), [*locations memberships patch*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipPatchCall), [*locations memberships set iam policy*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipSetIamPolicyCall), [*locations memberships test iam permissions*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationMembershipTestIamPermissionCall), [*locations operations cancel*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210322/google_gkehub1/GKEHub)** +* **[Hub](https://docs.rs/google-gkehub1/2.0.4+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.3+20210322/google_gkehub1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/client::Part)** + * **[Parts](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gkehub1/2.0.3+20210322/google_gkehub1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gkehub1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gkehub1/2.0.3+20210322/google_gkehub1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gkehub1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_gkehub1/client::RequestValue) and -[decodable](https://docs.rs/google-gkehub1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gkehub1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_gkehub1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gkehub1/2.0.4+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 88e47f00c5..8f96d52233 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gkehub1/src/client.rs b/gen/gkehub1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gkehub1/src/client.rs +++ b/gen/gkehub1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gkehub1/src/lib.rs b/gen/gkehub1/src/lib.rs index ca6c0d5c87..e0f13927b9 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.3+20210322*, where *20210322* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/gmail1-cli/Cargo.toml b/gen/gmail1-cli/Cargo.toml index d47bf40b2e..e42933ff30 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/gmail1-cli/README.md b/gen/gmail1-cli/README.md index 4804e45798..380878b024 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.3*. +This documentation was generated from the *Gmail* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash gmail1 [options] diff --git a/gen/gmail1-cli/mkdocs.yml b/gen/gmail1-cli/mkdocs.yml index 08b3b81f75..8f927e69ca 100644 --- a/gen/gmail1-cli/mkdocs.yml +++ b/gen/gmail1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Gmail v2.0.3+20210322 +site_name: Gmail v2.0.4+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 3a219206e3..ce5165ffea 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.3+20210322") + .version("2.0.4+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 146f196852..b4a42f2880 100644 --- a/gen/gmail1/Cargo.toml +++ b/gen/gmail1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmail1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-gmail1/2.0.4+20210322" license = "MIT" keywords = ["gmail", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gmail1/README.md b/gen/gmail1/README.md index d5a77183cf..fa81bcc6e2 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.3+20210322*, where *20210322* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_gmail1/Gmail) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/Gmail) ... * users - * [*drafts create*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftCreateCall), [*drafts delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftDeleteCall), [*drafts get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftGetCall), [*drafts list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftListCall), [*drafts send*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftSendCall), [*drafts update*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftUpdateCall), [*get profile*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserGetProfileCall), [*history list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserHistoryListCall), [*labels create*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserLabelCreateCall), [*labels delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserLabelDeleteCall), [*labels get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserLabelGetCall), [*labels list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserLabelListCall), [*labels patch*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserLabelPatchCall), [*labels update*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserLabelUpdateCall), [*messages attachments get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageAttachmentGetCall), [*messages batch delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageBatchDeleteCall), [*messages batch modify*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageBatchModifyCall), [*messages delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageDeleteCall), [*messages get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageGetCall), [*messages import*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageImportCall), [*messages insert*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageInsertCall), [*messages list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageListCall), [*messages modify*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageModifyCall), [*messages send*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageSendCall), [*messages trash*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageTrashCall), [*messages untrash*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageUntrashCall), [*settings delegates create*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingDelegateCreateCall), [*settings delegates delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingDelegateDeleteCall), [*settings delegates get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingDelegateGetCall), [*settings delegates list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingDelegateListCall), [*settings filters create*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingFilterCreateCall), [*settings filters delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingFilterDeleteCall), [*settings filters get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingFilterGetCall), [*settings filters list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingFilterListCall), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingForwardingAddresseCreateCall), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingForwardingAddresseDeleteCall), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingForwardingAddresseGetCall), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingForwardingAddresseListCall), [*settings get auto forwarding*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingGetAutoForwardingCall), [*settings get imap*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingGetImapCall), [*settings get language*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingGetLanguageCall), [*settings get pop*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingGetPopCall), [*settings get vacation*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingGetVacationCall), [*settings send as create*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendACreateCall), [*settings send as delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendADeleteCall), [*settings send as get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendAGetCall), [*settings send as list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendAListCall), [*settings send as patch*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendAPatchCall), [*settings send as smime info delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendASmimeInfoDeleteCall), [*settings send as smime info get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendASmimeInfoGetCall), [*settings send as smime info insert*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendASmimeInfoInsertCall), [*settings send as smime info list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendASmimeInfoListCall), [*settings send as smime info set default*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendASmimeInfoSetDefaultCall), [*settings send as update*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendAUpdateCall), [*settings send as verify*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingSendAVerifyCall), [*settings update auto forwarding*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingUpdateAutoForwardingCall), [*settings update imap*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingUpdateImapCall), [*settings update language*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingUpdateLanguageCall), [*settings update pop*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingUpdatePopCall), [*settings update vacation*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserSettingUpdateVacationCall), [*stop*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserStopCall), [*threads delete*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserThreadDeleteCall), [*threads get*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserThreadGetCall), [*threads list*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserThreadListCall), [*threads modify*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserThreadModifyCall), [*threads trash*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserThreadTrashCall), [*threads untrash*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserThreadUntrashCall) and [*watch*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserWatchCall) + * [*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) Upload supported by ... -* [*drafts create users*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftCreateCall) -* [*drafts send users*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftSendCall) -* [*drafts update users*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserDraftUpdateCall) -* [*messages import users*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageImportCall) -* [*messages insert users*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageInsertCall) -* [*messages send users*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/api::UserMessageSendCall) +* [*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) @@ -32,17 +32,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/Gmail)** +* **[Hub](https://docs.rs/google-gmail1/2.0.4+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.3+20210322/google_gmail1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/client::Part)** + * **[Parts](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmail1/2.0.3+20210322/google_gmail1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gmail1/2.0.3+20210322/google_gmail1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmail1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_gmail1/client::RequestValue) and -[decodable](https://docs.rs/google-gmail1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmail1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_gmail1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmail1/2.0.4+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 0f1c890307..f43728a43f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gmail1/src/client.rs b/gen/gmail1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gmail1/src/client.rs +++ b/gen/gmail1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gmail1/src/lib.rs b/gen/gmail1/src/lib.rs index 15276bedf8..c89f0fd3ae 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.3+20210322*, where *20210322* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Gmail* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/api/). diff --git a/gen/gmailpostmastertools1-cli/Cargo.toml b/gen/gmailpostmastertools1-cli/Cargo.toml index a8f047d3c2..014cfa2df9 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/gmailpostmastertools1-cli/README.md b/gen/gmailpostmastertools1-cli/README.md index 62a59f384d..5ad96eb6f5 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.3*. +This documentation was generated from the *Postmaster Tools* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash gmailpostmastertools1 [options] diff --git a/gen/gmailpostmastertools1-cli/mkdocs.yml b/gen/gmailpostmastertools1-cli/mkdocs.yml index ee893ca15b..40c80aee03 100644 --- a/gen/gmailpostmastertools1-cli/mkdocs.yml +++ b/gen/gmailpostmastertools1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Postmaster Tools v2.0.3+20210330 +site_name: Postmaster Tools v2.0.4+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 65eb871606..47e7950dfc 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.3+20210330") + .version("2.0.4+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 dbada8579c..26a2a523df 100644 --- a/gen/gmailpostmastertools1/Cargo.toml +++ b/gen/gmailpostmastertools1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmailpostmastertools1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330" license = "MIT" keywords = ["gmailpostmastertools", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gmailpostmastertools1/README.md b/gen/gmailpostmastertools1/README.md index 56a8f0c122..be3c09f6dc 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.3+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_gmailpostmastertools1/PostmasterTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/PostmasterTools) ... -* [domains](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/api::Domain) - * [*get*](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/api::DomainTrafficStatListCall) +* [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) @@ -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.3+20210330/google_gmailpostmastertools1/PostmasterTools)** +* **[Hub](https://docs.rs/google-gmailpostmastertools1/2.0.4+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.3+20210330/google_gmailpostmastertools1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/client::Part)** + * **[Parts](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gmailpostmastertools1/2.0.3+20210330/google_gmailpostmastertools1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmailpostmastertools1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_gmailpostmastertools1/client::RequestValue) and -[decodable](https://docs.rs/google-gmailpostmastertools1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_gmailpostmastertools1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmailpostmastertools1/2.0.4+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 91a80e7ec2..e6b9d78cc7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gmailpostmastertools1/src/client.rs b/gen/gmailpostmastertools1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gmailpostmastertools1/src/client.rs +++ b/gen/gmailpostmastertools1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gmailpostmastertools1/src/lib.rs b/gen/gmailpostmastertools1/src/lib.rs index 88399d6265..e5f6096812 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.3+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Postmaster Tools* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/postmaster). diff --git a/gen/gmailpostmastertools1_beta1-cli/Cargo.toml b/gen/gmailpostmastertools1_beta1-cli/Cargo.toml index 32afd3c168..334c8f0fa2 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/gmailpostmastertools1_beta1-cli/README.md b/gen/gmailpostmastertools1_beta1-cli/README.md index cc426dd25d..b9c1e3ed56 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.3*. +This documentation was generated from the *Postmaster Tools* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash gmailpostmastertools1-beta1 [options] diff --git a/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml b/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml index f3ab005c4d..dcb3fdf3a5 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.3+20210330 +site_name: Postmaster Tools v2.0.4+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 a49fd225d7..ab4afa0e85 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.3+20210330") + .version("2.0.4+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 bac9a6d73a..ff4c16a11e 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.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+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 ccca417f3c..562012c616 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.3+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_gmailpostmastertools1_beta1/PostmasterTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/PostmasterTools) ... -* [domains](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/api::Domain) - * [*get*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/api::DomainTrafficStatListCall) +* [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) @@ -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.3+20210330/google_gmailpostmastertools1_beta1/PostmasterTools)** +* **[Hub](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+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.3+20210330/google_gmailpostmastertools1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+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. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-gmailpostmastertools1_beta1/2.0.3+20210330/google_gmailpostmastertools1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_gmailpostmastertools1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_gmailpostmastertools1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+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 c3012062b4..51ef698c28 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/gmailpostmastertools1_beta1/src/client.rs b/gen/gmailpostmastertools1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/gmailpostmastertools1_beta1/src/client.rs +++ b/gen/gmailpostmastertools1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/gmailpostmastertools1_beta1/src/lib.rs b/gen/gmailpostmastertools1_beta1/src/lib.rs index 535c7936b6..0adcf96ae8 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.3+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Postmaster Tools* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/postmaster). diff --git a/gen/groupsmigration1-cli/Cargo.toml b/gen/groupsmigration1-cli/Cargo.toml index b13b7f5e54..143bd931fd 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/groupsmigration1-cli/README.md b/gen/groupsmigration1-cli/README.md index 7001187dbe..34c015906f 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.3*. +This documentation was generated from the *Groups Migration* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash groupsmigration1 [options] diff --git a/gen/groupsmigration1-cli/mkdocs.yml b/gen/groupsmigration1-cli/mkdocs.yml index d4871fd555..c8986eced6 100644 --- a/gen/groupsmigration1-cli/mkdocs.yml +++ b/gen/groupsmigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Groups Migration v2.0.3+20210318 +site_name: Groups Migration v2.0.4+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 dc88fbbbe3..4df82bdd99 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.3+20210318") + .version("2.0.4+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 6b12c090b5..c697f98358 100644 --- a/gen/groupsmigration1/Cargo.toml +++ b/gen/groupsmigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupsmigration1" -version = "2.0.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-groupsmigration1/2.0.4+20210318" license = "MIT" keywords = ["groupsmigration", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/groupsmigration1/README.md b/gen/groupsmigration1/README.md index f7684576e5..0dcd9418df 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.3+20210318*, where *20210318* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_groupsmigration1/GroupsMigration) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/GroupsMigration) ... * archive - * [*insert*](https://docs.rs/google-groupsmigration1/2.0.3+20210318/google_groupsmigration1/api::ArchiveInsertCall) + * [*insert*](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/api::ArchiveInsertCall) Upload supported by ... -* [*insert archive*](https://docs.rs/google-groupsmigration1/2.0.3+20210318/google_groupsmigration1/api::ArchiveInsertCall) +* [*insert archive*](https://docs.rs/google-groupsmigration1/2.0.4+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.3+20210318/google_groupsmigration1/GroupsMigration)** +* **[Hub](https://docs.rs/google-groupsmigration1/2.0.4+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.3+20210318/google_groupsmigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/2.0.3+20210318/google_groupsmigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-groupsmigration1/2.0.3+20210318/google_groupsmigration1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupsmigration1/2.0.3+20210318/google_groupsmigration1/client::Part)** + * **[Parts](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupsmigration1/2.0.3+20210318/google_groupsmigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-groupsmigration1/2.0.3+20210318/google_groupsmigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-groupsmigration1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_groupsmigration1/client::RequestValue) and -[decodable](https://docs.rs/google-groupsmigration1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_groupsmigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-groupsmigration1/2.0.4+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 f708db8e79..fb6231da67 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/groupsmigration1/src/client.rs b/gen/groupsmigration1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/groupsmigration1/src/client.rs +++ b/gen/groupsmigration1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/groupsmigration1/src/lib.rs b/gen/groupsmigration1/src/lib.rs index cee4a32e63..cc21cc7b72 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.3+20210318*, where *20210318* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Groups Migration* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-migration/). diff --git a/gen/groupssettings1-cli/Cargo.toml b/gen/groupssettings1-cli/Cargo.toml index 3a2d62d9fb..a1385e87fe 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/groupssettings1-cli/README.md b/gen/groupssettings1-cli/README.md index 95b476099c..3b3bded444 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.3*. +This documentation was generated from the *groupssettings* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash groupssettings1 [options] diff --git a/gen/groupssettings1-cli/mkdocs.yml b/gen/groupssettings1-cli/mkdocs.yml index bdad0fb251..5e41de0947 100644 --- a/gen/groupssettings1-cli/mkdocs.yml +++ b/gen/groupssettings1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: groupssettings v2.0.3+20210325 +site_name: groupssettings v2.0.4+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 7b0c037ba8..fc074608d4 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.3+20210325") + .version("2.0.4+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 46211d42cd..40f4bb9b2b 100644 --- a/gen/groupssettings1/Cargo.toml +++ b/gen/groupssettings1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupssettings1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-groupssettings1/2.0.4+20210325" license = "MIT" keywords = ["groupssettings", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/groupssettings1/README.md b/gen/groupssettings1/README.md index da8fd2d6d9..df5471f97e 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.3+20210325*, where *20210325* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_groupssettings1/Groupssettings) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/Groupssettings) ... * groups - * [*get*](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/api::GroupGetCall), [*patch*](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/api::GroupPatchCall) and [*update*](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/api::GroupUpdateCall) + * [*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) @@ -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.3+20210325/google_groupssettings1/Groupssettings)** +* **[Hub](https://docs.rs/google-groupssettings1/2.0.4+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.3+20210325/google_groupssettings1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/client::CallBuilder) -* **[Resources](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/client::Part)** + * **[Parts](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupssettings1/2.0.3+20210325/google_groupssettings1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-groupssettings1/2.0.3+20210325/google_groupssettings1/client::Delegate) to the -[Method Builder](https://docs.rs/google-groupssettings1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_groupssettings1/client::RequestValue) and -[decodable](https://docs.rs/google-groupssettings1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_groupssettings1/client::RequestValue) are moved +* [request values](https://docs.rs/google-groupssettings1/2.0.4+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 0102aacd15..3f25e4d558 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/groupssettings1/src/client.rs b/gen/groupssettings1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/groupssettings1/src/client.rs +++ b/gen/groupssettings1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/groupssettings1/src/lib.rs b/gen/groupssettings1/src/lib.rs index 4a726e853b..338c1667f1 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.3+20210325*, where *20210325* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *groupssettings* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). diff --git a/gen/healthcare1-cli/Cargo.toml b/gen/healthcare1-cli/Cargo.toml index 618df8de5c..357bfff206 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/healthcare1-cli/README.md b/gen/healthcare1-cli/README.md index 91bdcb4d9a..9878ae648a 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.3*. +This documentation was generated from the *Cloud Healthcare* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash healthcare1 [options] diff --git a/gen/healthcare1-cli/mkdocs.yml b/gen/healthcare1-cli/mkdocs.yml index 4a799cf490..178639a85f 100644 --- a/gen/healthcare1-cli/mkdocs.yml +++ b/gen/healthcare1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Healthcare v2.0.3+20210317 +site_name: Cloud Healthcare v2.0.4+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 cf67031f72..b526b398a4 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.3+20210317") + .version("2.0.4+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 dc4f64391d..4199f7deca 100644 --- a/gen/healthcare1/Cargo.toml +++ b/gen/healthcare1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-healthcare1" -version = "2.0.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-healthcare1/2.0.4+20210317" license = "MIT" keywords = ["healthcare", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/healthcare1/README.md b/gen/healthcare1/README.md index d8b8d20cc4..60d8c5d15c 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.3+20210317*, where *20210317* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_healthcare1/CloudHealthcare) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/CloudHealthcare) ... * projects - * [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210317/google_healthcare1/CloudHealthcare)** +* **[Hub](https://docs.rs/google-healthcare1/2.0.4+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.3+20210317/google_healthcare1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/client::CallBuilder) -* **[Resources](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/client::Part)** + * **[Parts](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1/2.0.3+20210317/google_healthcare1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -160,17 +160,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +180,29 @@ Methods supporting uploads can do so using up to 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.3+20210317/google_healthcare1/client::Delegate) to the -[Method Builder](https://docs.rs/google-healthcare1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_healthcare1/client::RequestValue) and -[decodable](https://docs.rs/google-healthcare1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-healthcare1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_healthcare1/client::RequestValue) are moved +* [request values](https://docs.rs/google-healthcare1/2.0.4+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 24f35de03b..5c0af07450 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/healthcare1/src/client.rs b/gen/healthcare1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/healthcare1/src/client.rs +++ b/gen/healthcare1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/healthcare1/src/lib.rs b/gen/healthcare1/src/lib.rs index 73c32462d2..bfe03782b3 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.3+20210317*, where *20210317* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Healthcare* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). diff --git a/gen/healthcare1_beta1-cli/Cargo.toml b/gen/healthcare1_beta1-cli/Cargo.toml index 04a786b0bb..23783de03e 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/healthcare1_beta1-cli/README.md b/gen/healthcare1_beta1-cli/README.md index 47944f68ed..bd96cfd931 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.3*. +This documentation was generated from the *Cloud Healthcare* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash healthcare1-beta1 [options] diff --git a/gen/healthcare1_beta1-cli/mkdocs.yml b/gen/healthcare1_beta1-cli/mkdocs.yml index 50c69b895a..d5f359b712 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.3+20210317 +site_name: Cloud Healthcare v2.0.4+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 f9d988a889..8924246113 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.3+20210317") + .version("2.0.4+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 d985a5c798..7ed76d2bcd 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.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-healthcare1_beta1/2.0.4+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 aa6486adba..45aa86357f 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.3+20210317*, where *20210317* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_healthcare1_beta1/CloudHealthcare) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/CloudHealthcare) ... * projects - * [*locations datasets annotation stores annotations create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationCreateCall), [*locations datasets annotation stores annotations delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationDeleteCall), [*locations datasets annotation stores annotations get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationGetCall), [*locations datasets annotation stores annotations list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationListCall), [*locations datasets annotation stores annotations patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationPatchCall), [*locations datasets annotation stores create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreCreateCall), [*locations datasets annotation stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreDeleteCall), [*locations datasets annotation stores evaluate*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreEvaluateCall), [*locations datasets annotation stores export*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreExportCall), [*locations datasets annotation stores get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetCall), [*locations datasets annotation stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetIamPolicyCall), [*locations datasets annotation stores import*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreImportCall), [*locations datasets annotation stores list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreListCall), [*locations datasets annotation stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStorePatchCall), [*locations datasets annotation stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreSetIamPolicyCall), [*locations datasets annotation stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreTestIamPermissionCall), [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir concept map-search-translate*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapSearchTranslateCall), [*locations datasets fhir stores fhir concept map-translate*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapTranslateCall), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirObservationLastnCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalPatchCall), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages batch get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageBatchGetCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/api::ProjectLocationServiceNlpAnalyzeEntityCall) + * [*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) @@ -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.3+20210317/google_healthcare1_beta1/CloudHealthcare)** +* **[Hub](https://docs.rs/google-healthcare1_beta1/2.0.4+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.3+20210317/google_healthcare1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1_beta1/2.0.3+20210317/google_healthcare1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-healthcare1_beta1/2.0.4+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. @@ -166,17 +166,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +186,29 @@ Methods supporting uploads can do so using up to 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.3+20210317/google_healthcare1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-healthcare1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_healthcare1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-healthcare1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-healthcare1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_healthcare1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-healthcare1_beta1/2.0.4+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 d08000c024..d28af74f11 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/healthcare1_beta1/src/client.rs b/gen/healthcare1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/healthcare1_beta1/src/client.rs +++ b/gen/healthcare1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/healthcare1_beta1/src/lib.rs b/gen/healthcare1_beta1/src/lib.rs index 600d37e569..914c09f4c9 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.3+20210317*, where *20210317* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Healthcare* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). diff --git a/gen/iam1-cli/Cargo.toml b/gen/iam1-cli/Cargo.toml index d8b72bf95b..69efd0a5a9 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/iam1-cli/README.md b/gen/iam1-cli/README.md index 9f33efa895..9508747882 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.3*. +This documentation was generated from the *Iam* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash iam1 [options] diff --git a/gen/iam1-cli/mkdocs.yml b/gen/iam1-cli/mkdocs.yml index 1bdced32ef..3aad9d8df3 100644 --- a/gen/iam1-cli/mkdocs.yml +++ b/gen/iam1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Iam v2.0.3+20210325 +site_name: Iam v2.0.4+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 0bf0b4fa54..e5848f546b 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.3+20210325") + .version("2.0.4+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 a4161ea355..3bdb65a409 100644 --- a/gen/iam1/Cargo.toml +++ b/gen/iam1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iam1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-iam1/2.0.4+20210325" license = "MIT" keywords = ["iam", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iam1/README.md b/gen/iam1/README.md index 25a0b5cefd..45f3876727 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.3+20210325*, where *20210325* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_iam1/Iam) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/Iam) ... * iam policies - * [*lint policy*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::IamPolicyLintPolicyCall) and [*query auditable services*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::IamPolicyQueryAuditableServiceCall) + * [*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) * organizations - * [*roles create*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::OrganizationRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::OrganizationRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::OrganizationRoleGetCall), [*roles list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::OrganizationRoleListCall), [*roles patch*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::OrganizationRolePatchCall) and [*roles undelete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::OrganizationRoleUndeleteCall) -* [permissions](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::Permission) - * [*query testable permissions*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::PermissionQueryTestablePermissionCall) + * [*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) * projects - * [*locations workload identity pools create*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolCreateCall), [*locations workload identity pools delete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolDeleteCall), [*locations workload identity pools get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolGetCall), [*locations workload identity pools list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolListCall), [*locations workload identity pools operations get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolOperationGetCall), [*locations workload identity pools patch*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolPatchCall), [*locations workload identity pools providers create*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderCreateCall), [*locations workload identity pools providers delete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderDeleteCall), [*locations workload identity pools providers get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderGetCall), [*locations workload identity pools providers list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderListCall), [*locations workload identity pools providers operations get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderOperationGetCall), [*locations workload identity pools providers patch*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderPatchCall), [*locations workload identity pools providers undelete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderUndeleteCall), [*locations workload identity pools undelete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolUndeleteCall), [*roles create*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectRoleGetCall), [*roles list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectRoleListCall), [*roles patch*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectRolePatchCall), [*roles undelete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectRoleUndeleteCall), [*service accounts create*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountCreateCall), [*service accounts delete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountDeleteCall), [*service accounts disable*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountDisableCall), [*service accounts enable*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountEnableCall), [*service accounts get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountGetCall), [*service accounts get iam policy*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountGetIamPolicyCall), [*service accounts keys create*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountKeyCreateCall), [*service accounts keys delete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountKeyDeleteCall), [*service accounts keys get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountKeyGetCall), [*service accounts keys list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountKeyListCall), [*service accounts keys upload*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountKeyUploadCall), [*service accounts list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountListCall), [*service accounts patch*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountPatchCall), [*service accounts set iam policy*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountSetIamPolicyCall), [*service accounts sign blob*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountSignBlobCall), [*service accounts sign jwt*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountSignJwtCall), [*service accounts test iam permissions*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountTestIamPermissionCall), [*service accounts undelete*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountUndeleteCall) and [*service accounts update*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::ProjectServiceAccountUpdateCall) -* [roles](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::Role) - * [*get*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::RoleGetCall), [*list*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::RoleListCall) and [*query grantable roles*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/api::RoleQueryGrantableRoleCall) + * [*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) @@ -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.3+20210325/google_iam1/Iam)** +* **[Hub](https://docs.rs/google-iam1/2.0.4+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.3+20210325/google_iam1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/client::Part)** + * **[Parts](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iam1/2.0.3+20210325/google_iam1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-iam1/2.0.3+20210325/google_iam1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iam1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_iam1/client::RequestValue) and -[decodable](https://docs.rs/google-iam1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iam1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_iam1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iam1/2.0.4+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 946f83eff8..4f20a4987f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/iam1/src/client.rs b/gen/iam1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/iam1/src/client.rs +++ b/gen/iam1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/iam1/src/lib.rs b/gen/iam1/src/lib.rs index 36a85bc692..1581389949 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.3+20210325*, where *20210325* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Iam* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). diff --git a/gen/iamcredentials1-cli/Cargo.toml b/gen/iamcredentials1-cli/Cargo.toml index 7a3834c954..c13c4a4768 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/iamcredentials1-cli/README.md b/gen/iamcredentials1-cli/README.md index e01ae48e49..339653050b 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.3*. +This documentation was generated from the *IAM Credentials* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash iamcredentials1 [options] diff --git a/gen/iamcredentials1-cli/mkdocs.yml b/gen/iamcredentials1-cli/mkdocs.yml index bf326daca4..272db69713 100644 --- a/gen/iamcredentials1-cli/mkdocs.yml +++ b/gen/iamcredentials1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: IAM Credentials v2.0.3+20210326 +site_name: IAM Credentials v2.0.4+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 6c976f6c16..b9cc07f48d 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.3+20210326") + .version("2.0.4+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 0b859ca002..7d80ea9e3b 100644 --- a/gen/iamcredentials1/Cargo.toml +++ b/gen/iamcredentials1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iamcredentials1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-iamcredentials1/2.0.4+20210326" license = "MIT" keywords = ["iamcredentials", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iamcredentials1/README.md b/gen/iamcredentials1/README.md index 51e4e25e54..9e5f550ad6 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.3+20210326*, where *20210326* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_iamcredentials1/IAMCredentials) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/IAMCredentials) ... * projects - * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/api::ProjectServiceAccountGenerateAccessTokenCall), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/api::ProjectServiceAccountGenerateIdTokenCall), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/api::ProjectServiceAccountSignBlobCall) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/api::ProjectServiceAccountSignJwtCall) + * [*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) @@ -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.3+20210326/google_iamcredentials1/IAMCredentials)** +* **[Hub](https://docs.rs/google-iamcredentials1/2.0.4+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.3+20210326/google_iamcredentials1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/client::Part)** + * **[Parts](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iamcredentials1/2.0.3+20210326/google_iamcredentials1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-iamcredentials1/2.0.3+20210326/google_iamcredentials1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iamcredentials1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_iamcredentials1/client::RequestValue) and -[decodable](https://docs.rs/google-iamcredentials1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iamcredentials1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_iamcredentials1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iamcredentials1/2.0.4+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 b23e3b8728..e44a3cb520 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/iamcredentials1/src/client.rs b/gen/iamcredentials1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/iamcredentials1/src/client.rs +++ b/gen/iamcredentials1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/iamcredentials1/src/lib.rs b/gen/iamcredentials1/src/lib.rs index 36f44e82a8..41fd7482c8 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.3+20210326*, where *20210326* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/iap1-cli/Cargo.toml b/gen/iap1-cli/Cargo.toml index f6fe963c4b..71ec6603c8 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/iap1-cli/README.md b/gen/iap1-cli/README.md index 5090141b2d..5ed8e5b156 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.3*. +This documentation was generated from the *Cloud IAP* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash iap1 [options] diff --git a/gen/iap1-cli/mkdocs.yml b/gen/iap1-cli/mkdocs.yml index 9001956003..d0277752e4 100644 --- a/gen/iap1-cli/mkdocs.yml +++ b/gen/iap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v2.0.3+20210326 +site_name: Cloud IAP v2.0.4+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 742caaba30..73ea462d12 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.3+20210326") + .version("2.0.4+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 4b9c4f5fc8..283d321048 100644 --- a/gen/iap1/Cargo.toml +++ b/gen/iap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-iap1/2.0.4+20210326" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iap1/README.md b/gen/iap1/README.md index 5b30e2a714..d2e765058e 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.3+20210326*, where *20210326* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_iap1/CloudIAP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/CloudIAP) ... * projects - * [*brands create*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandCreateCall), [*brands get*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandGetCall), [*brands identity aware proxy clients create*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientCreateCall), [*brands identity aware proxy clients delete*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientDeleteCall), [*brands identity aware proxy clients get*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientGetCall), [*brands identity aware proxy clients list*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientListCall), [*brands identity aware proxy clients reset secret*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientResetSecretCall) and [*brands list*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::ProjectBrandListCall) + * [*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) Other activities are ... -* [get iam policy](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::MethodGetIamPolicyCall) -* [get iap settings](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::MethodGetIapSettingCall) -* [set iam policy](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::MethodTestIamPermissionCall) -* [update iap settings](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/api::MethodUpdateIapSettingCall) +* [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) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/CloudIAP)** +* **[Hub](https://docs.rs/google-iap1/2.0.4+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.3+20210326/google_iap1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/client::Part)** + * **[Parts](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1/2.0.3+20210326/google_iap1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-iap1/2.0.3+20210326/google_iap1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iap1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_iap1/client::RequestValue) and -[decodable](https://docs.rs/google-iap1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iap1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_iap1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iap1/2.0.4+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 692f85021b..7f5922fdff 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/iap1/src/client.rs b/gen/iap1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/iap1/src/client.rs +++ b/gen/iap1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/iap1/src/lib.rs b/gen/iap1/src/lib.rs index e163ff46cb..dca7ec7442 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.3+20210326*, where *20210326* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud IAP* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). diff --git a/gen/iap1_beta1-cli/Cargo.toml b/gen/iap1_beta1-cli/Cargo.toml index 1b6b368c3c..12f40c3730 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/iap1_beta1-cli/README.md b/gen/iap1_beta1-cli/README.md index c22a07fb8e..996c55d6f2 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.3*. +This documentation was generated from the *Cloud IAP* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash iap1-beta1 [options] diff --git a/gen/iap1_beta1-cli/mkdocs.yml b/gen/iap1_beta1-cli/mkdocs.yml index 6d85af8410..18746fd4f9 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.3+20210326 +site_name: Cloud IAP v2.0.4+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 d07281ea7a..5f93a5ccff 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.3+20210326") + .version("2.0.4+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 3224da8211..4241e002b4 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.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-iap1_beta1/2.0.4+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 780b58fd2d..9ab275fe70 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.3+20210326*, where *20210326* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_iap1_beta1/CloudIAP) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/CloudIAP) ... -* [get iam policy](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/api::MethodGetIamPolicyCall) -* [set iam policy](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/api::MethodTestIamPermissionCall) +* [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) @@ -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.3+20210326/google_iap1_beta1/CloudIAP)** +* **[Hub](https://docs.rs/google-iap1_beta1/2.0.4+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.3+20210326/google_iap1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1_beta1/2.0.3+20210326/google_iap1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iap1_beta1/2.0.4+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. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-iap1_beta1/2.0.3+20210326/google_iap1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iap1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_iap1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-iap1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iap1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_iap1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iap1_beta1/2.0.4+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 cb1da65f62..62a87a9247 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/iap1_beta1/src/client.rs b/gen/iap1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/iap1_beta1/src/client.rs +++ b/gen/iap1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/iap1_beta1/src/lib.rs b/gen/iap1_beta1/src/lib.rs index 8eb39ba985..bf0f541ea2 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.3+20210326*, where *20210326* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud IAP* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). diff --git a/gen/identitytoolkit3-cli/Cargo.toml b/gen/identitytoolkit3-cli/Cargo.toml index ec03c3ef29..79e7b9f588 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.3+20180723" +version = "2.0.4+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.3+20180723" +version = "2.0.4+20180723" diff --git a/gen/identitytoolkit3-cli/README.md b/gen/identitytoolkit3-cli/README.md index ef616dc554..7a2397fa31 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.3*. +This documentation was generated from the *Identity Toolkit* API at revision *20180723*. The CLI is at version *2.0.4*. ```bash identitytoolkit3 [options] diff --git a/gen/identitytoolkit3-cli/mkdocs.yml b/gen/identitytoolkit3-cli/mkdocs.yml index 620a27f701..c9c9447b91 100644 --- a/gen/identitytoolkit3-cli/mkdocs.yml +++ b/gen/identitytoolkit3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Identity Toolkit v2.0.3+20180723 +site_name: Identity Toolkit v2.0.4+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 9ce4831888..a0d59c140e 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.3+20180723") + .version("2.0.4+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 59434ee8b6..b4b5aaa64d 100644 --- a/gen/identitytoolkit3/Cargo.toml +++ b/gen/identitytoolkit3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-identitytoolkit3" -version = "2.0.3+20180723" +version = "2.0.4+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.3+20180723" +documentation = "https://docs.rs/google-identitytoolkit3/2.0.4+20180723" license = "MIT" keywords = ["identitytoolkit", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/identitytoolkit3/README.md b/gen/identitytoolkit3/README.md index 504f06e5ca..faa4218357 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.3+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20180723/google_identitytoolkit3/IdentityToolkit) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/IdentityToolkit) ... -* [relyingparty](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::Relyingparty) - * [*create auth uri*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyCreateAuthUriCall), [*delete account*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyDeleteAccountCall), [*download account*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyDownloadAccountCall), [*email link signin*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyEmailLinkSigninCall), [*get account info*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyGetAccountInfoCall), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyGetOobConfirmationCodeCall), [*get project config*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyGetProjectConfigCall), [*get public keys*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyGetPublicKeyCall), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyGetRecaptchaParamCall), [*reset password*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyResetPasswordCall), [*send verification code*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartySendVerificationCodeCall), [*set account info*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartySetAccountInfoCall), [*set project config*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartySetProjectConfigCall), [*sign out user*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartySignOutUserCall), [*signup new user*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartySignupNewUserCall), [*upload account*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyUploadAccountCall), [*verify assertion*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyVerifyAssertionCall), [*verify custom token*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyVerifyCustomTokenCall), [*verify password*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPasswordCall) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPhoneNumberCall) +* [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) @@ -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.3+20180723/google_identitytoolkit3/IdentityToolkit)** +* **[Hub](https://docs.rs/google-identitytoolkit3/2.0.4+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.3+20180723/google_identitytoolkit3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/client::CallBuilder) -* **[Resources](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/client::Part)** + * **[Parts](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-identitytoolkit3/2.0.3+20180723/google_identitytoolkit3/client::Delegate) to the -[Method Builder](https://docs.rs/google-identitytoolkit3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20180723/google_identitytoolkit3/client::RequestValue) and -[decodable](https://docs.rs/google-identitytoolkit3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/2.0.3+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.4+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.3+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.4+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.3+20180723/google_identitytoolkit3/client::RequestValue) are moved +* [request values](https://docs.rs/google-identitytoolkit3/2.0.4+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 cba5ed4336..18b5c01b0b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/identitytoolkit3/src/client.rs b/gen/identitytoolkit3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/identitytoolkit3/src/client.rs +++ b/gen/identitytoolkit3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/identitytoolkit3/src/lib.rs b/gen/identitytoolkit3/src/lib.rs index a8631e188a..33d3fe84fb 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.3+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Identity Toolkit* *v3* API can be found at the //! [official documentation site](https://developers.google.com/identity-toolkit/v3/). diff --git a/gen/indexing3-cli/Cargo.toml b/gen/indexing3-cli/Cargo.toml index 46a0f7337f..5a9432d189 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/indexing3-cli/README.md b/gen/indexing3-cli/README.md index 2f942ee75e..a8119207e8 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.3*. +This documentation was generated from the *Indexing* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash indexing3 [options] diff --git a/gen/indexing3-cli/mkdocs.yml b/gen/indexing3-cli/mkdocs.yml index be87acce00..0256e4a391 100644 --- a/gen/indexing3-cli/mkdocs.yml +++ b/gen/indexing3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Indexing v2.0.3+20210323 +site_name: Indexing v2.0.4+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 9dfbb09b0e..33802f750e 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.3+20210323") + .version("2.0.4+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 c642a50a12..a0989fb708 100644 --- a/gen/indexing3/Cargo.toml +++ b/gen/indexing3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-indexing3" -version = "2.0.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-indexing3/2.0.4+20210323" license = "MIT" keywords = ["indexing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/indexing3/README.md b/gen/indexing3/README.md index 8dc055bd54..677e7239ee 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.3+20210323*, where *20210323* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_indexing3/Indexing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/Indexing) ... -* [url notifications](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/api::UrlNotification) - * [*get metadata*](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/api::UrlNotificationGetMetadataCall) and [*publish*](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/api::UrlNotificationPublishCall) +* [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) @@ -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.3+20210323/google_indexing3/Indexing)** +* **[Hub](https://docs.rs/google-indexing3/2.0.4+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.3+20210323/google_indexing3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/client::CallBuilder) -* **[Resources](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/client::Part)** + * **[Parts](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-indexing3/2.0.3+20210323/google_indexing3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-indexing3/2.0.3+20210323/google_indexing3/client::Delegate) to the -[Method Builder](https://docs.rs/google-indexing3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_indexing3/client::RequestValue) and -[decodable](https://docs.rs/google-indexing3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-indexing3/2.0.3+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.4+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.3+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.4+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.3+20210323/google_indexing3/client::RequestValue) are moved +* [request values](https://docs.rs/google-indexing3/2.0.4+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 09d4603aa8..b8fc42de4b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/indexing3/src/client.rs b/gen/indexing3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/indexing3/src/client.rs +++ b/gen/indexing3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/indexing3/src/lib.rs b/gen/indexing3/src/lib.rs index f1c570458e..1ee52ec906 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.3+20210323*, where *20210323* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Indexing* *v3* API can be found at the //! [official documentation site](https://developers.google.com/search/apis/indexing-api/). diff --git a/gen/jobs3-cli/Cargo.toml b/gen/jobs3-cli/Cargo.toml index 7ef34d39f9..ba7ee24097 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.3+20210309" +version = "2.0.4+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.3+20210309" +version = "2.0.4+20210309" diff --git a/gen/jobs3-cli/README.md b/gen/jobs3-cli/README.md index 910652a6bd..ccffe1a530 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.3*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20210309*. The CLI is at version *2.0.4*. ```bash jobs3 [options] diff --git a/gen/jobs3-cli/mkdocs.yml b/gen/jobs3-cli/mkdocs.yml index 7c445df596..1c92948f46 100644 --- a/gen/jobs3-cli/mkdocs.yml +++ b/gen/jobs3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v2.0.3+20210309 +site_name: Cloud Talent Solution v2.0.4+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 58aff3f917..86a4611abd 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.3+20210309") + .version("2.0.4+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 b394b6ce4c..c1cc5002c4 100644 --- a/gen/jobs3/Cargo.toml +++ b/gen/jobs3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs3" -version = "2.0.3+20210309" +version = "2.0.4+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.3+20210309" +documentation = "https://docs.rs/google-jobs3/2.0.4+20210309" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/jobs3/README.md b/gen/jobs3/README.md index 1127f5bec9..0d53d922a5 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.3+20210309*, where *20210309* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210309/google_jobs3/CloudTalentSolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/CloudTalentSolution) ... * projects - * [*client events create*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectClientEventCreateCall), [*companies create*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectCompanyCreateCall), [*companies delete*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectCompanyDeleteCall), [*companies get*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectCompanyGetCall), [*companies list*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectCompanyListCall), [*companies patch*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectCompanyPatchCall), [*complete*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectCompleteCall), [*jobs batch delete*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobBatchDeleteCall), [*jobs create*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobCreateCall), [*jobs delete*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobDeleteCall), [*jobs get*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobGetCall), [*jobs list*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobPatchCall), [*jobs search*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobSearchCall) and [*jobs search for alert*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/api::ProjectJobSearchForAlertCall) + * [*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) @@ -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.3+20210309/google_jobs3/CloudTalentSolution)** +* **[Hub](https://docs.rs/google-jobs3/2.0.4+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.3+20210309/google_jobs3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/client::CallBuilder) -* **[Resources](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/client::Part)** + * **[Parts](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs3/2.0.3+20210309/google_jobs3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-jobs3/2.0.3+20210309/google_jobs3/client::Delegate) to the -[Method Builder](https://docs.rs/google-jobs3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210309/google_jobs3/client::RequestValue) and -[decodable](https://docs.rs/google-jobs3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-jobs3/2.0.3+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.4+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.3+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.4+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.3+20210309/google_jobs3/client::RequestValue) are moved +* [request values](https://docs.rs/google-jobs3/2.0.4+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 816e48af96..48ccbd14fe 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/jobs3/src/client.rs b/gen/jobs3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/jobs3/src/client.rs +++ b/gen/jobs3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/jobs3/src/lib.rs b/gen/jobs3/src/lib.rs index 1e7e3b9beb..4499bcd139 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.3+20210309*, where *20210309* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/jobs4-cli/Cargo.toml b/gen/jobs4-cli/Cargo.toml index b25bf22e14..5c977c0dd5 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.3+20210309" +version = "2.0.4+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.3+20210309" +version = "2.0.4+20210309" diff --git a/gen/jobs4-cli/README.md b/gen/jobs4-cli/README.md index a6e6e983f9..ef6c2b2ded 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.3*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20210309*. The CLI is at version *2.0.4*. ```bash jobs4 [options] diff --git a/gen/jobs4-cli/mkdocs.yml b/gen/jobs4-cli/mkdocs.yml index eaa7852440..55dcfbb62b 100644 --- a/gen/jobs4-cli/mkdocs.yml +++ b/gen/jobs4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v2.0.3+20210309 +site_name: Cloud Talent Solution v2.0.4+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 9d057c73a3..08251ccf68 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.3+20210309") + .version("2.0.4+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 cd6c4ee63e..424f1bc9cf 100644 --- a/gen/jobs4/Cargo.toml +++ b/gen/jobs4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs4" -version = "2.0.3+20210309" +version = "2.0.4+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.3+20210309" +documentation = "https://docs.rs/google-jobs4/2.0.4+20210309" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/jobs4/README.md b/gen/jobs4/README.md index e5d7e57b69..6d5a716eef 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.3+20210309*, where *20210309* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210309/google_jobs4/CloudTalentSolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/CloudTalentSolution) ... * projects - * [*operations get*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectOperationGetCall), [*tenants client events create*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantClientEventCreateCall), [*tenants companies create*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCompanyCreateCall), [*tenants companies delete*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCompanyDeleteCall), [*tenants companies get*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCompanyGetCall), [*tenants companies list*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCompanyListCall), [*tenants companies patch*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCompanyPatchCall), [*tenants complete query*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCompleteQueryCall), [*tenants create*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantCreateCall), [*tenants delete*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantDeleteCall), [*tenants get*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantGetCall), [*tenants jobs batch create*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobBatchCreateCall), [*tenants jobs batch delete*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobBatchDeleteCall), [*tenants jobs batch update*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobBatchUpdateCall), [*tenants jobs create*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobCreateCall), [*tenants jobs delete*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobDeleteCall), [*tenants jobs get*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobGetCall), [*tenants jobs list*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobListCall), [*tenants jobs patch*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobPatchCall), [*tenants jobs search*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobSearchCall), [*tenants jobs search for alert*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantJobSearchForAlertCall), [*tenants list*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantListCall) and [*tenants patch*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/api::ProjectTenantPatchCall) + * [*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) @@ -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.3+20210309/google_jobs4/CloudTalentSolution)** +* **[Hub](https://docs.rs/google-jobs4/2.0.4+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.3+20210309/google_jobs4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/client::CallBuilder) -* **[Resources](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/client::Part)** + * **[Parts](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs4/2.0.3+20210309/google_jobs4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-jobs4/2.0.3+20210309/google_jobs4/client::Delegate) to the -[Method Builder](https://docs.rs/google-jobs4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210309/google_jobs4/client::RequestValue) and -[decodable](https://docs.rs/google-jobs4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-jobs4/2.0.3+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.4+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.3+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.4+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.3+20210309/google_jobs4/client::RequestValue) are moved +* [request values](https://docs.rs/google-jobs4/2.0.4+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 e1bd834e60..7079eccdd8 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/jobs4/src/client.rs b/gen/jobs4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/jobs4/src/client.rs +++ b/gen/jobs4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/jobs4/src/lib.rs b/gen/jobs4/src/lib.rs index db49931764..cc7a268bbf 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.3+20210309*, where *20210309* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/language1-cli/Cargo.toml b/gen/language1-cli/Cargo.toml index 2c68dd017f..1ee7d853f6 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/language1-cli/README.md b/gen/language1-cli/README.md index fd5b4a5fe2..0c21b11f64 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.3*. +This documentation was generated from the *Cloud Natural Language* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash language1 [options] diff --git a/gen/language1-cli/mkdocs.yml b/gen/language1-cli/mkdocs.yml index cd0cca7705..5cc3ca98a0 100644 --- a/gen/language1-cli/mkdocs.yml +++ b/gen/language1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v2.0.3+20210326 +site_name: Cloud Natural Language v2.0.4+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 00e38982c6..8e089b42f7 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.3+20210326") + .version("2.0.4+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 b4128c3d2b..b5ac497f62 100644 --- a/gen/language1/Cargo.toml +++ b/gen/language1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-language1/2.0.4+20210326" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/language1/README.md b/gen/language1/README.md index 1d4a559583..f6676449e0 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.3+20210326*, where *20210326* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_language1/CloudNaturalLanguage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1/2.0.4+20210326/google_language1/CloudNaturalLanguage) ... -* [documents](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::Document) - * [*analyze entities*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::DocumentAnalyzeEntityCall), [*analyze entity sentiment*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::DocumentAnalyzeEntitySentimentCall), [*analyze sentiment*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::DocumentAnalyzeSyntaxCall), [*annotate text*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::DocumentAnnotateTextCall) and [*classify text*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/api::DocumentClassifyTextCall) +* [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) @@ -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.3+20210326/google_language1/CloudNaturalLanguage)** +* **[Hub](https://docs.rs/google-language1/2.0.4+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.3+20210326/google_language1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1/2.0.3+20210326/google_language1/client::CallBuilder) -* **[Resources](https://docs.rs/google-language1/2.0.3+20210326/google_language1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1/2.0.3+20210326/google_language1/client::Part)** + * **[Parts](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1/2.0.3+20210326/google_language1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-language1/2.0.3+20210326/google_language1/client::Delegate) to the -[Method Builder](https://docs.rs/google-language1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_language1/client::RequestValue) and -[decodable](https://docs.rs/google-language1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-language1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_language1/client::RequestValue) are moved +* [request values](https://docs.rs/google-language1/2.0.4+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 af81f57d58..5cd80b58a3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/language1/src/client.rs b/gen/language1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/language1/src/client.rs +++ b/gen/language1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/language1/src/lib.rs b/gen/language1/src/lib.rs index 7c3c048312..d2cb28af2f 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.3+20210326*, where *20210326* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Natural Language* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). diff --git a/gen/language1_beta1-cli/Cargo.toml b/gen/language1_beta1-cli/Cargo.toml index ec3ef52914..e80bdab6b0 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/language1_beta1-cli/README.md b/gen/language1_beta1-cli/README.md index b98a62958c..cb80faceca 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.3*. +This documentation was generated from the *Cloud Natural Language* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash language1-beta1 [options] diff --git a/gen/language1_beta1-cli/mkdocs.yml b/gen/language1_beta1-cli/mkdocs.yml index a53ed46cc9..e6bf5e16f1 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.3+20210326 +site_name: Cloud Natural Language v2.0.4+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 297c6a49b7..ce9270e30c 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.3+20210326") + .version("2.0.4+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 fa7f5ec88e..2255ec88bb 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.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-language1_beta1/2.0.4+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 107d5f0988..9e48abc4ba 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.3+20210326*, where *20210326* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_language1_beta1/CloudNaturalLanguage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/CloudNaturalLanguage) ... -* [documents](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/api::Document) - * [*analyze entities*](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/api::DocumentAnalyzeEntityCall), [*analyze sentiment*](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/api::DocumentAnalyzeSyntaxCall) and [*annotate text*](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/api::DocumentAnnotateTextCall) +* [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) @@ -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.3+20210326/google_language1_beta1/CloudNaturalLanguage)** +* **[Hub](https://docs.rs/google-language1_beta1/2.0.4+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.3+20210326/google_language1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1_beta1/2.0.3+20210326/google_language1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-language1_beta1/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-language1_beta1/2.0.3+20210326/google_language1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-language1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_language1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-language1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-language1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_language1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-language1_beta1/2.0.4+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 25297dbf5c..78edd774a5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/language1_beta1/src/client.rs b/gen/language1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/language1_beta1/src/client.rs +++ b/gen/language1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/language1_beta1/src/lib.rs b/gen/language1_beta1/src/lib.rs index eaa2c53f76..3c1e77038c 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.3+20210326*, where *20210326* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Natural Language* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). diff --git a/gen/libraryagent1-cli/Cargo.toml b/gen/libraryagent1-cli/Cargo.toml index 887c151e9a..b61e7f2add 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/libraryagent1-cli/README.md b/gen/libraryagent1-cli/README.md index fc6e19006a..d721c757d8 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.3*. +This documentation was generated from the *Libraryagent* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash libraryagent1 [options] diff --git a/gen/libraryagent1-cli/mkdocs.yml b/gen/libraryagent1-cli/mkdocs.yml index e0250cb8fe..3d321f41fe 100644 --- a/gen/libraryagent1-cli/mkdocs.yml +++ b/gen/libraryagent1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Libraryagent v2.0.3+20210330 +site_name: Libraryagent v2.0.4+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 5f217a77eb..3b31468d1d 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.3+20210330") + .version("2.0.4+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 16a767a26f..4dbad9c655 100644 --- a/gen/libraryagent1/Cargo.toml +++ b/gen/libraryagent1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-libraryagent1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-libraryagent1/2.0.4+20210330" license = "MIT" keywords = ["libraryagent", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/libraryagent1/README.md b/gen/libraryagent1/README.md index a6cde2be81..2356277954 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.3+20210330*, where *20210330* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_libraryagent1/Libraryagent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/Libraryagent) ... * shelves - * [*books borrow*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/api::ShelveBookBorrowCall), [*books get*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/api::ShelveBookGetCall), [*books list*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/api::ShelveBookListCall), [*books return*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/api::ShelveBookReturnCall), [*get*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/api::ShelveGetCall) and [*list*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/api::ShelveListCall) + * [*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) @@ -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.3+20210330/google_libraryagent1/Libraryagent)** +* **[Hub](https://docs.rs/google-libraryagent1/2.0.4+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.3+20210330/google_libraryagent1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/client::CallBuilder) -* **[Resources](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/client::Part)** + * **[Parts](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-libraryagent1/2.0.3+20210330/google_libraryagent1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-libraryagent1/2.0.3+20210330/google_libraryagent1/client::Delegate) to the -[Method Builder](https://docs.rs/google-libraryagent1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_libraryagent1/client::RequestValue) and -[decodable](https://docs.rs/google-libraryagent1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-libraryagent1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_libraryagent1/client::RequestValue) are moved +* [request values](https://docs.rs/google-libraryagent1/2.0.4+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 2047583b9f..0d2f9a1283 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/libraryagent1/src/client.rs b/gen/libraryagent1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/libraryagent1/src/client.rs +++ b/gen/libraryagent1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/libraryagent1/src/lib.rs b/gen/libraryagent1/src/lib.rs index 275a434100..cdc8c91102 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.3+20210330*, where *20210330* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Libraryagent* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/docs/quota). diff --git a/gen/licensing1-cli/Cargo.toml b/gen/licensing1-cli/Cargo.toml index b21bccfba5..745978e90e 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/licensing1-cli/README.md b/gen/licensing1-cli/README.md index 812b2e7de9..d4b5c6a7ad 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.3*. +This documentation was generated from the *licensing* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash licensing1 [options] diff --git a/gen/licensing1-cli/mkdocs.yml b/gen/licensing1-cli/mkdocs.yml index 54f5963907..5d390c6758 100644 --- a/gen/licensing1-cli/mkdocs.yml +++ b/gen/licensing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: licensing v2.0.3+20210329 +site_name: licensing v2.0.4+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 a68fefe627..9d911e6b86 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.3+20210329") + .version("2.0.4+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 8fd836e9c2..ed544e42cf 100644 --- a/gen/licensing1/Cargo.toml +++ b/gen/licensing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-licensing1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-licensing1/2.0.4+20210329" license = "MIT" keywords = ["licensing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/licensing1/README.md b/gen/licensing1/README.md index 60efc25a9d..1b24c48f89 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.3+20210329*, where *20210329* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_licensing1/Licensing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/Licensing) ... -* [license assignments](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignment) - * [*delete*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentDeleteCall), [*get*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentGetCall), [*insert*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentInsertCall), [*list for product*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentListForProductCall), [*list for product and sku*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentListForProductAndSkuCall), [*patch*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentPatchCall) and [*update*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/api::LicenseAssignmentUpdateCall) +* [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) @@ -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.3+20210329/google_licensing1/Licensing)** +* **[Hub](https://docs.rs/google-licensing1/2.0.4+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.3+20210329/google_licensing1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/client::CallBuilder) -* **[Resources](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/client::Part)** + * **[Parts](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-licensing1/2.0.3+20210329/google_licensing1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-licensing1/2.0.3+20210329/google_licensing1/client::Delegate) to the -[Method Builder](https://docs.rs/google-licensing1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_licensing1/client::RequestValue) and -[decodable](https://docs.rs/google-licensing1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-licensing1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_licensing1/client::RequestValue) are moved +* [request values](https://docs.rs/google-licensing1/2.0.4+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 b005bfc10c..b20b43bdca 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/licensing1/src/client.rs b/gen/licensing1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/licensing1/src/client.rs +++ b/gen/licensing1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/licensing1/src/lib.rs b/gen/licensing1/src/lib.rs index d3aa1f88a3..1a780ea35d 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.3+20210329*, where *20210329* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *licensing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/licensing/). diff --git a/gen/lifesciences2_beta-cli/Cargo.toml b/gen/lifesciences2_beta-cli/Cargo.toml index 2c013a503e..8e677ac988 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/lifesciences2_beta-cli/README.md b/gen/lifesciences2_beta-cli/README.md index 113f998f8f..a371c114f2 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.3*. +This documentation was generated from the *Cloud Life Sciences* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash lifesciences2-beta [options] diff --git a/gen/lifesciences2_beta-cli/mkdocs.yml b/gen/lifesciences2_beta-cli/mkdocs.yml index 16ca5790e8..1499c9bde4 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.3+20210319 +site_name: Cloud Life Sciences v2.0.4+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 c8ebba637e..d9e62ff2fd 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.3+20210319") + .version("2.0.4+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 323a0bbe0d..0385593d6b 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.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-lifesciences2_beta/2.0.4+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 1d8a697163..f451c4b20b 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.3+20210319*, where *20210319* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_lifesciences2_beta/CloudLifeSciences) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/CloudLifeSciences) ... * projects - * [*locations get*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/api::ProjectLocationOperationListCall) and [*locations pipelines run*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/api::ProjectLocationPipelineRunCall) + * [*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) @@ -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.3+20210319/google_lifesciences2_beta/CloudLifeSciences)** +* **[Hub](https://docs.rs/google-lifesciences2_beta/2.0.4+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.3+20210319/google_lifesciences2_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/client::Part)** + * **[Parts](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-lifesciences2_beta/2.0.4+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. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-lifesciences2_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-lifesciences2_beta/2.0.3+20210319/google_lifesciences2_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-lifesciences2_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_lifesciences2_beta/client::RequestValue) and -[decodable](https://docs.rs/google-lifesciences2_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-lifesciences2_beta/2.0.3+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.4+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.3+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.4+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.3+20210319/google_lifesciences2_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-lifesciences2_beta/2.0.4+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 23bb897816..b176eab78b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/lifesciences2_beta/src/client.rs b/gen/lifesciences2_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/lifesciences2_beta/src/client.rs +++ b/gen/lifesciences2_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/lifesciences2_beta/src/lib.rs b/gen/lifesciences2_beta/src/lib.rs index 829ff8cafd..30dfd15717 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.3+20210319*, where *20210319* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Life Sciences* *v2_beta* API can be found at the //! [official documentation site](https://cloud.google.com/life-sciences). diff --git a/gen/localservices1-cli/Cargo.toml b/gen/localservices1-cli/Cargo.toml index c5d99aaaa0..b5ff09c1ed 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/localservices1-cli/README.md b/gen/localservices1-cli/README.md index bef1b8ad34..8608a10f70 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.3*. +This documentation was generated from the *Localservices* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash localservices1 [options] diff --git a/gen/localservices1-cli/mkdocs.yml b/gen/localservices1-cli/mkdocs.yml index 9d259b570a..b07acd0a1f 100644 --- a/gen/localservices1-cli/mkdocs.yml +++ b/gen/localservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Localservices v2.0.3+20210330 +site_name: Localservices v2.0.4+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 0114ab7189..b1985645c6 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.3+20210330") + .version("2.0.4+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 b862abd738..118ba8238b 100644 --- a/gen/localservices1/Cargo.toml +++ b/gen/localservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-localservices1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-localservices1/2.0.4+20210330" license = "MIT" keywords = ["localservices", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/localservices1/README.md b/gen/localservices1/README.md index 1a587b4da1..d68d609166 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.3+20210330*, where *20210330* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_localservices1/Localservices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/Localservices) ... * account reports - * [*search*](https://docs.rs/google-localservices1/2.0.3+20210330/google_localservices1/api::AccountReportSearchCall) + * [*search*](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/api::AccountReportSearchCall) * detailed lead reports - * [*search*](https://docs.rs/google-localservices1/2.0.3+20210330/google_localservices1/api::DetailedLeadReportSearchCall) + * [*search*](https://docs.rs/google-localservices1/2.0.4+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.3+20210330/google_localservices1/Localservices)** +* **[Hub](https://docs.rs/google-localservices1/2.0.4+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.3+20210330/google_localservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-localservices1/2.0.3+20210330/google_localservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-localservices1/2.0.3+20210330/google_localservices1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-localservices1/2.0.3+20210330/google_localservices1/client::Part)** + * **[Parts](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-localservices1/2.0.3+20210330/google_localservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-localservices1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-localservices1/2.0.3+20210330/google_localservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-localservices1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_localservices1/client::RequestValue) and -[decodable](https://docs.rs/google-localservices1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-localservices1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_localservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-localservices1/2.0.4+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 f4bd8c7fa4..cbea84779a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/localservices1/src/client.rs b/gen/localservices1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/localservices1/src/client.rs +++ b/gen/localservices1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/localservices1/src/lib.rs b/gen/localservices1/src/lib.rs index 83f937ed05..3e9288985c 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.3+20210330*, where *20210330* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Localservices* *v1* API can be found at the //! [official documentation site](https://ads.google.com/local-services-ads/). diff --git a/gen/logging2-cli/Cargo.toml b/gen/logging2-cli/Cargo.toml index 682473bb28..b5edb50ea9 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/logging2-cli/README.md b/gen/logging2-cli/README.md index 1ff8792115..530fe825c9 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.3*. +This documentation was generated from the *Logging* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash logging2 [options] diff --git a/gen/logging2-cli/mkdocs.yml b/gen/logging2-cli/mkdocs.yml index b7857811c4..c7d5252a1c 100644 --- a/gen/logging2-cli/mkdocs.yml +++ b/gen/logging2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v2.0.3+20210325 +site_name: Logging v2.0.4+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 ab2312f093..93f81d69ed 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.3+20210325") + .version("2.0.4+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 3291c405a4..9a2f329bcd 100644 --- a/gen/logging2/Cargo.toml +++ b/gen/logging2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-logging2/2.0.4+20210325" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/logging2/README.md b/gen/logging2/README.md index 1f57793019..2f8b045819 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.3+20210325*, where *20210325* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_logging2/Logging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/Logging) ... * billing accounts - * [*buckets get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountBucketGetCall), [*buckets views get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountBucketViewGetCall), [*exclusions create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketDeleteCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketViewDeleteCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::BillingAccountSinkUpdateCall) + * [*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) * entries - * [*list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::EntryListCall), [*tail*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::EntryTailCall) and [*write*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::EntryWriteCall) + * [*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) * exclusions - * [*create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ExclusionCreateCall), [*delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ExclusionDeleteCall), [*get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ExclusionGetCall), [*list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ExclusionListCall) and [*patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ExclusionPatchCall) + * [*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) * folders - * [*exclusions create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::FolderSinkUpdateCall) -* [locations](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::Location) - * [*buckets create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketCreateCall), [*buckets delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketDeleteCall), [*buckets get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketGetCall), [*buckets list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketListCall), [*buckets patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketPatchCall), [*buckets undelete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketUndeleteCall), [*buckets views create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketViewCreateCall), [*buckets views delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketViewDeleteCall), [*buckets views get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketViewGetCall), [*buckets views list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketViewListCall), [*buckets views patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationBucketViewPatchCall), [*get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationGetCall) and [*list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LocationListCall) + * [*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) * logs - * [*delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LogDeleteCall) and [*list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::LogListCall) -* [monitored resource descriptors](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::MonitoredResourceDescriptor) - * [*list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::MonitoredResourceDescriptorListCall) + * [*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) * organizations - * [*exclusions create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationGetCmekSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationSinkUpdateCall) and [*update cmek settings*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::OrganizationUpdateCmekSettingCall) + * [*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) * projects - * [*exclusions create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectLogListCall), [*metrics create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::ProjectSinkUpdateCall) + * [*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) * sinks - * [*create*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::SinkCreateCall), [*delete*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::SinkDeleteCall), [*get*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::SinkGetCall), [*list*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::SinkListCall) and [*update*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::SinkUpdateCall) + * [*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) Other activities are ... -* [get cmek settings](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::MethodGetCmekSettingCall) -* [update cmek settings](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/api::MethodUpdateCmekSettingCall) +* [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) @@ -45,17 +45,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/Logging)** +* **[Hub](https://docs.rs/google-logging2/2.0.4+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.3+20210325/google_logging2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/client::CallBuilder) -* **[Resources](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/client::Part)** + * **[Parts](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2/2.0.3+20210325/google_logging2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -184,17 +184,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-logging2/2.0.3+20210325/google_logging2/client::Delegate) to the -[Method Builder](https://docs.rs/google-logging2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_logging2/client::RequestValue) and -[decodable](https://docs.rs/google-logging2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-logging2/2.0.3+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.4+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.3+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.4+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.3+20210325/google_logging2/client::RequestValue) are moved +* [request values](https://docs.rs/google-logging2/2.0.4+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 fd1392749d..e66ae0ac9c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/logging2/src/client.rs b/gen/logging2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/logging2/src/client.rs +++ b/gen/logging2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/logging2/src/lib.rs b/gen/logging2/src/lib.rs index 21f7f9ca4b..3ca5c7b6ba 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.3+20210325*, where *20210325* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Logging* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). diff --git a/gen/logging2_beta1-cli/Cargo.toml b/gen/logging2_beta1-cli/Cargo.toml index 123c5fe8d7..c4244f43d1 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.3+20190325" +version = "2.0.4+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.3+20190325" +version = "2.0.4+20190325" diff --git a/gen/logging2_beta1-cli/README.md b/gen/logging2_beta1-cli/README.md index 0f5780b081..ae038b844a 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.3*. +This documentation was generated from the *Logging* API at revision *20190325*. The CLI is at version *2.0.4*. ```bash logging2-beta1 [options] diff --git a/gen/logging2_beta1-cli/mkdocs.yml b/gen/logging2_beta1-cli/mkdocs.yml index a70280b706..c17b4be416 100644 --- a/gen/logging2_beta1-cli/mkdocs.yml +++ b/gen/logging2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v2.0.3+20190325 +site_name: Logging v2.0.4+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 6f08343351..627f35cc6f 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.3+20190325") + .version("2.0.4+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 f86120764a..7d8c8838bc 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.3+20190325" +version = "2.0.4+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.3+20190325" +documentation = "https://docs.rs/google-logging2_beta1/2.0.4+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 7eacb68805..97649f6b0e 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.3+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190325/google_logging2_beta1/Logging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/Logging) ... * entries - * [*list*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::EntryListCall) and [*write*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::EntryWriteCall) -* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::MonitoredResourceDescriptor) - * [*list*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::MonitoredResourceDescriptorListCall) + * [*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) * projects - * [*metrics create*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectSinkListCall) and [*sinks update*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/api::ProjectSinkUpdateCall) + * [*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) @@ -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.3+20190325/google_logging2_beta1/Logging)** +* **[Hub](https://docs.rs/google-logging2_beta1/2.0.4+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.3+20190325/google_logging2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2_beta1/2.0.3+20190325/google_logging2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-logging2_beta1/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-logging2_beta1/2.0.3+20190325/google_logging2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-logging2_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190325/google_logging2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-logging2_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/2.0.3+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.4+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.3+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.4+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.3+20190325/google_logging2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-logging2_beta1/2.0.4+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 befe208f08..6710d0a407 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/logging2_beta1/src/client.rs b/gen/logging2_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/logging2_beta1/src/client.rs +++ b/gen/logging2_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/logging2_beta1/src/lib.rs b/gen/logging2_beta1/src/lib.rs index c5ffc3368a..7efaba2d3c 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.3+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Logging* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). diff --git a/gen/managedidentities1-cli/Cargo.toml b/gen/managedidentities1-cli/Cargo.toml index 8e47569a12..48c7cc0802 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/managedidentities1-cli/README.md b/gen/managedidentities1-cli/README.md index c6bb94597f..7685c4a3ad 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.3*. +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*. ```bash managedidentities1 [options] diff --git a/gen/managedidentities1-cli/mkdocs.yml b/gen/managedidentities1-cli/mkdocs.yml index 270402bb34..d07121603b 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.3+20210324 +site_name: Managed Service for Microsoft Active Directory Consumer API v2.0.4+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 303e467b55..beed8d6644 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.3+20210324") + .version("2.0.4+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 9a87b8609a..31768740ac 100644 --- a/gen/managedidentities1/Cargo.toml +++ b/gen/managedidentities1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-managedidentities1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-managedidentities1/2.0.4+20210324" license = "MIT" keywords = ["managedidentities", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/managedidentities1/README.md b/gen/managedidentities1/README.md index 04fd1aac83..e459a201c5 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.3+20210324*, where *20210324* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI) ... * projects - * [*locations get*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGetCall), [*locations global domains attach trust*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainAttachTrustCall), [*locations global domains create*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainCreateCall), [*locations global domains delete*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainDeleteCall), [*locations global domains detach trust*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainDetachTrustCall), [*locations global domains get*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainGetCall), [*locations global domains get iam policy*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainGetIamPolicyCall), [*locations global domains list*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainListCall), [*locations global domains patch*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainPatchCall), [*locations global domains reconfigure trust*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainReconfigureTrustCall), [*locations global domains reset admin password*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainResetAdminPasswordCall), [*locations global domains set iam policy*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainSetIamPolicyCall), [*locations global domains test iam permissions*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainTestIamPermissionCall), [*locations global domains validate trust*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainValidateTrustCall), [*locations global operations cancel*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI)** +* **[Hub](https://docs.rs/google-managedidentities1/2.0.4+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.3+20210324/google_managedidentities1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/client::CallBuilder) -* **[Resources](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/client::Part)** + * **[Parts](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-managedidentities1/2.0.3+20210324/google_managedidentities1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-managedidentities1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-managedidentities1/2.0.3+20210324/google_managedidentities1/client::Delegate) to the -[Method Builder](https://docs.rs/google-managedidentities1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_managedidentities1/client::RequestValue) and -[decodable](https://docs.rs/google-managedidentities1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-managedidentities1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_managedidentities1/client::RequestValue) are moved +* [request values](https://docs.rs/google-managedidentities1/2.0.4+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 d128bb491e..b88f6cc798 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/managedidentities1/src/client.rs b/gen/managedidentities1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/managedidentities1/src/client.rs +++ b/gen/managedidentities1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/managedidentities1/src/lib.rs b/gen/managedidentities1/src/lib.rs index 51f0e45b4a..262ce02326 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.3+20210324*, where *20210324* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/manager1_beta2-cli/Cargo.toml b/gen/manager1_beta2-cli/Cargo.toml index 69f4cc0846..92f2c76e2f 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.3+20140915" +version = "2.0.4+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.3+20140915" +version = "2.0.4+20140915" diff --git a/gen/manager1_beta2-cli/README.md b/gen/manager1_beta2-cli/README.md index ad17b2d957..bbe9dbbd4a 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.3*. +This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *2.0.4*. ```bash manager1-beta2 [options] diff --git a/gen/manager1_beta2-cli/mkdocs.yml b/gen/manager1_beta2-cli/mkdocs.yml index a67f7232a2..c809e486bc 100644 --- a/gen/manager1_beta2-cli/mkdocs.yml +++ b/gen/manager1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: manager v2.0.3+20140915 +site_name: manager v2.0.4+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 a17ab3c3b1..e3f4344b99 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.3+20140915") + .version("2.0.4+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 825db8abe2..1d5b1ce9cd 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.3+20140915" +version = "2.0.4+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.3+20140915" +documentation = "https://docs.rs/google-manager1_beta2/2.0.4+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 21b670b86e..0d6a0dd56e 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.3+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20140915/google_manager1_beta2/Manager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/Manager) ... -* [deployments](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::Deployment) - * [*delete*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::DeploymentInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::DeploymentListCall) -* [templates](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::Template) - * [*delete*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::TemplateGetCall), [*insert*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::TemplateInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/api::TemplateListCall) +* [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) @@ -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.3+20140915/google_manager1_beta2/Manager)** +* **[Hub](https://docs.rs/google-manager1_beta2/2.0.4+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.3+20140915/google_manager1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manager1_beta2/2.0.3+20140915/google_manager1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-manager1_beta2/2.0.4+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. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-manager1_beta2/2.0.3+20140915/google_manager1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-manager1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20140915/google_manager1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-manager1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/2.0.3+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.4+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.3+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.4+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.3+20140915/google_manager1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-manager1_beta2/2.0.4+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 08d926b245..8180d3fee3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/manager1_beta2/src/client.rs b/gen/manager1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/manager1_beta2/src/client.rs +++ b/gen/manager1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/manager1_beta2/src/lib.rs b/gen/manager1_beta2/src/lib.rs index 9966a662f0..3ca404bdd4 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.3+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *manager* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). diff --git a/gen/manufacturers1-cli/Cargo.toml b/gen/manufacturers1-cli/Cargo.toml index 1131b0e50e..eeef810a4e 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/manufacturers1-cli/README.md b/gen/manufacturers1-cli/README.md index 05a184f0e9..32530502fc 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.3*. +This documentation was generated from the *Manufacturer Center* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash manufacturers1 [options] diff --git a/gen/manufacturers1-cli/mkdocs.yml b/gen/manufacturers1-cli/mkdocs.yml index 52c8ddee87..1286ba73e3 100644 --- a/gen/manufacturers1-cli/mkdocs.yml +++ b/gen/manufacturers1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Manufacturer Center v2.0.3+20210325 +site_name: Manufacturer Center v2.0.4+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 22bdb4c16b..95cdaf6976 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.3+20210325") + .version("2.0.4+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 ba1e649234..7d6965f79d 100644 --- a/gen/manufacturers1/Cargo.toml +++ b/gen/manufacturers1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manufacturers1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-manufacturers1/2.0.4+20210325" license = "MIT" keywords = ["manufacturers", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/manufacturers1/README.md b/gen/manufacturers1/README.md index 17556f9366..84e7e04f29 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.3+20210325*, where *20210325* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_manufacturers1/ManufacturerCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/ManufacturerCenter) ... * accounts - * [*products delete*](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/api::AccountProductDeleteCall), [*products get*](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/api::AccountProductListCall) and [*products update*](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/api::AccountProductUpdateCall) + * [*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) @@ -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.3+20210325/google_manufacturers1/ManufacturerCenter)** +* **[Hub](https://docs.rs/google-manufacturers1/2.0.4+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.3+20210325/google_manufacturers1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/client::CallBuilder) -* **[Resources](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/client::Part)** + * **[Parts](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manufacturers1/2.0.3+20210325/google_manufacturers1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-manufacturers1/2.0.3+20210325/google_manufacturers1/client::Delegate) to the -[Method Builder](https://docs.rs/google-manufacturers1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_manufacturers1/client::RequestValue) and -[decodable](https://docs.rs/google-manufacturers1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_manufacturers1/client::RequestValue) are moved +* [request values](https://docs.rs/google-manufacturers1/2.0.4+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 45aa438dde..d1605d86e0 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/manufacturers1/src/client.rs b/gen/manufacturers1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/manufacturers1/src/client.rs +++ b/gen/manufacturers1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs index e971c2287c..2533432c12 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.3+20210325*, where *20210325* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Manufacturer Center* *v1* API can be found at the //! [official documentation site](https://developers.google.com/manufacturers/). diff --git a/gen/memcache1-cli/Cargo.toml b/gen/memcache1-cli/Cargo.toml index b954693697..49e30a394d 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/memcache1-cli/README.md b/gen/memcache1-cli/README.md index c43117d3f2..28ddaff042 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.3*. +This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash memcache1 [options] diff --git a/gen/memcache1-cli/mkdocs.yml b/gen/memcache1-cli/mkdocs.yml index e6a85daa20..dc2a8af893 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.3+20210324 +site_name: Cloud Memorystore for Memcached v2.0.4+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 194c88e04d..df01a77568 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.3+20210324") + .version("2.0.4+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 10df11e6ce..af3592599c 100644 --- a/gen/memcache1/Cargo.toml +++ b/gen/memcache1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-memcache1" -version = "2.0.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-memcache1/2.0.4+20210324" license = "MIT" keywords = ["memcache", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/memcache1/README.md b/gen/memcache1/README.md index 533153236e..749004484a 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.3+20210324*, where *20210324* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_memcache1/CloudMemorystoreForMemcached) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/CloudMemorystoreForMemcached) ... * projects - * [*locations get*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstanceApplyParameterCall), [*locations instances create*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210324/google_memcache1/CloudMemorystoreForMemcached)** +* **[Hub](https://docs.rs/google-memcache1/2.0.4+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.3+20210324/google_memcache1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/client::CallBuilder) -* **[Resources](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/client::Part)** + * **[Parts](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-memcache1/2.0.3+20210324/google_memcache1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-memcache1/2.0.3+20210324/google_memcache1/client::Delegate) to the -[Method Builder](https://docs.rs/google-memcache1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_memcache1/client::RequestValue) and -[decodable](https://docs.rs/google-memcache1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-memcache1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_memcache1/client::RequestValue) are moved +* [request values](https://docs.rs/google-memcache1/2.0.4+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 1f62dfd2ff..ecd299abf5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/memcache1/src/client.rs b/gen/memcache1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/memcache1/src/client.rs +++ b/gen/memcache1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/memcache1/src/lib.rs b/gen/memcache1/src/lib.rs index 6d54c0bcf5..5929a771c1 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.3+20210324*, where *20210324* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Memorystore for Memcached* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/). diff --git a/gen/memcache1_beta2-cli/Cargo.toml b/gen/memcache1_beta2-cli/Cargo.toml index e1515a97b8..d37737287d 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/memcache1_beta2-cli/README.md b/gen/memcache1_beta2-cli/README.md index 3b998e0d45..77928f2357 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.3*. +This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash memcache1-beta2 [options] diff --git a/gen/memcache1_beta2-cli/mkdocs.yml b/gen/memcache1_beta2-cli/mkdocs.yml index 948d5556e2..b84b13be3c 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.3+20210324 +site_name: Cloud Memorystore for Memcached v2.0.4+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 aaefe5264e..a3651f456a 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.3+20210324") + .version("2.0.4+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 5afc263994..8a112cdae0 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.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-memcache1_beta2/2.0.4+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 d8992cacdf..5d097e5325 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.3+20210324*, where *20210324* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached) ... * projects - * [*locations get*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceApplyParameterCall), [*locations instances apply software update*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceApplySoftwareUpdateCall), [*locations instances create*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached)** +* **[Hub](https://docs.rs/google-memcache1_beta2/2.0.4+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.3+20210324/google_memcache1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-memcache1_beta2/2.0.4+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. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-memcache1_beta2/2.0.3+20210324/google_memcache1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-memcache1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_memcache1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-memcache1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-memcache1_beta2/2.0.3+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.4+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.3+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.4+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.3+20210324/google_memcache1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-memcache1_beta2/2.0.4+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 61f03205df..377347f7ab 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/memcache1_beta2/src/client.rs b/gen/memcache1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/memcache1_beta2/src/client.rs +++ b/gen/memcache1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/memcache1_beta2/src/lib.rs b/gen/memcache1_beta2/src/lib.rs index fc2fe0d88c..1777964cd7 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.3+20210324*, where *20210324* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Memorystore for Memcached* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/). diff --git a/gen/metastore1_beta-cli/Cargo.toml b/gen/metastore1_beta-cli/Cargo.toml index 69b4b1944d..44db3782de 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/metastore1_beta-cli/README.md b/gen/metastore1_beta-cli/README.md index 8312037e13..6e868d2af3 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.3*. +This documentation was generated from the *Dataproc Metastore* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash metastore1-beta [options] diff --git a/gen/metastore1_beta-cli/mkdocs.yml b/gen/metastore1_beta-cli/mkdocs.yml index 4b3f8231ea..e6eac6fb80 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.3+20210325 +site_name: Dataproc Metastore v2.0.4+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 35984d27a6..9b2a1c1515 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.3+20210325") + .version("2.0.4+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 8ae32de896..b1c8b778c8 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.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-metastore1_beta/2.0.4+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 2774e033e2..93004b5aae 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.3+20210325*, where *20210325* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_metastore1_beta/DataprocMetastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/DataprocMetastore) ... * projects - * [*locations get*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationOperationListCall), [*locations services backups create*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupCreateCall), [*locations services backups delete*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupDeleteCall), [*locations services backups get*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupGetCall), [*locations services backups list*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupListCall), [*locations services create*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceDeleteCall), [*locations services export metadata*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceExportMetadataCall), [*locations services get*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceListCall), [*locations services metadata imports create*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportCreateCall), [*locations services metadata imports get*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportGetCall), [*locations services metadata imports list*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportListCall), [*locations services metadata imports patch*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportPatchCall), [*locations services patch*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServicePatchCall), [*locations services restore*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceRestoreCall), [*locations services set iam policy*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/api::ProjectLocationServiceTestIamPermissionCall) + * [*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) @@ -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.3+20210325/google_metastore1_beta/DataprocMetastore)** +* **[Hub](https://docs.rs/google-metastore1_beta/2.0.4+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.3+20210325/google_metastore1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/client::Part)** + * **[Parts](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-metastore1_beta/2.0.3+20210325/google_metastore1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-metastore1_beta/2.0.4+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. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-metastore1_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-metastore1_beta/2.0.3+20210325/google_metastore1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-metastore1_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_metastore1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-metastore1_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-metastore1_beta/2.0.3+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.4+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.3+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.4+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.3+20210325/google_metastore1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-metastore1_beta/2.0.4+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 0bd209b8c9..2f1033ef54 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/metastore1_beta/src/client.rs b/gen/metastore1_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/metastore1_beta/src/client.rs +++ b/gen/metastore1_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/metastore1_beta/src/lib.rs b/gen/metastore1_beta/src/lib.rs index 15cbad241d..44377dc292 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.3+20210325*, where *20210325* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Dataproc Metastore* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc-metastore/docs). diff --git a/gen/mirror1-cli/Cargo.toml b/gen/mirror1-cli/Cargo.toml index c5510a7bda..0d9348d513 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.3+20190424" +version = "2.0.4+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.3+20190424" +version = "2.0.4+20190424" diff --git a/gen/mirror1-cli/README.md b/gen/mirror1-cli/README.md index 0e3ef50902..292eb86a29 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.3*. +This documentation was generated from the *mirror* API at revision *20190424*. The CLI is at version *2.0.4*. ```bash mirror1 [options] diff --git a/gen/mirror1-cli/mkdocs.yml b/gen/mirror1-cli/mkdocs.yml index 5e89d39bf9..91064e340a 100644 --- a/gen/mirror1-cli/mkdocs.yml +++ b/gen/mirror1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: mirror v2.0.3+20190424 +site_name: mirror v2.0.4+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 ca75051504..8f5e1b9bfd 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.3+20190424") + .version("2.0.4+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 22d82ba54c..a78c7b7137 100644 --- a/gen/mirror1/Cargo.toml +++ b/gen/mirror1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mirror1" -version = "2.0.3+20190424" +version = "2.0.4+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.3+20190424" +documentation = "https://docs.rs/google-mirror1/2.0.4+20190424" license = "MIT" keywords = ["mirror", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/mirror1/README.md b/gen/mirror1/README.md index 5aa79aa527..5c3c4a3e50 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.3+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190424/google_mirror1/Mirror) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/Mirror) ... -* [accounts](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::Account) - * [*insert*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::AccountInsertCall) -* [contacts](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::Contact) - * [*delete*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::ContactDeleteCall), [*get*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::ContactGetCall), [*insert*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::ContactInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::ContactListCall), [*patch*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::ContactPatchCall) and [*update*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::ContactUpdateCall) -* [locations](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::Location) - * [*get*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::LocationGetCall) and [*list*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::LocationListCall) -* [settings](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::Setting) - * [*get*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::SettingGetCall) -* [subscriptions](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::Subscription) - * [*delete*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::SubscriptionListCall) and [*update*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::SubscriptionUpdateCall) +* [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) * timeline - * [*attachments delete*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineAttachmentDeleteCall), [*attachments get*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineAttachmentGetCall), [*attachments insert*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineAttachmentInsertCall), [*attachments list*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineAttachmentListCall), [*delete*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineDeleteCall), [*get*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineGetCall), [*insert*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineListCall), [*patch*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelinePatchCall) and [*update*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineUpdateCall) + * [*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) Upload supported by ... -* [*attachments insert timeline*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineAttachmentInsertCall) -* [*insert timeline*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineInsertCall) -* [*update timeline*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineUpdateCall) +* [*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) Download supported by ... -* [*attachments get timeline*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/api::TimelineAttachmentGetCall) +* [*attachments get timeline*](https://docs.rs/google-mirror1/2.0.4+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.3+20190424/google_mirror1/Mirror)** +* **[Hub](https://docs.rs/google-mirror1/2.0.4+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.3+20190424/google_mirror1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/client::Part)** + * **[Parts](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mirror1/2.0.3+20190424/google_mirror1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -157,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-mirror1/2.0.3+20190424/google_mirror1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mirror1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190424/google_mirror1/client::RequestValue) and -[decodable](https://docs.rs/google-mirror1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mirror1/2.0.3+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.4+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.3+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.4+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.3+20190424/google_mirror1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mirror1/2.0.4+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 bc92467da6..dddb17334b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/mirror1/src/client.rs b/gen/mirror1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/mirror1/src/client.rs +++ b/gen/mirror1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/mirror1/src/lib.rs b/gen/mirror1/src/lib.rs index b6ccbca038..feb56813a3 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.3+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *mirror* *v1* API can be found at the //! [official documentation site](https://developers.google.com/glass). diff --git a/gen/ml1-cli/Cargo.toml b/gen/ml1-cli/Cargo.toml index 82fb5c1c56..4cf78ea74f 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.3+20210317" +version = "2.0.4+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.3+20210317" +version = "2.0.4+20210317" diff --git a/gen/ml1-cli/README.md b/gen/ml1-cli/README.md index 5d25d0a94b..2b15120e9f 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.3*. +This documentation was generated from the *Cloud Machine Learning Engine* API at revision *20210317*. The CLI is at version *2.0.4*. ```bash ml1 [options] diff --git a/gen/ml1-cli/mkdocs.yml b/gen/ml1-cli/mkdocs.yml index 5c837e6af6..fdfa34146b 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.3+20210317 +site_name: Cloud Machine Learning Engine v2.0.4+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 1051ebaa02..66b9a4b1a1 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.3+20210317") + .version("2.0.4+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 a4b50e6d58..f2914d3ff7 100644 --- a/gen/ml1/Cargo.toml +++ b/gen/ml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ml1" -version = "2.0.3+20210317" +version = "2.0.4+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.3+20210317" +documentation = "https://docs.rs/google-ml1/2.0.4+20210317" license = "MIT" keywords = ["ml", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/ml1/README.md b/gen/ml1/README.md index 74cf966057..2d6b1d5270 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.3+20210317*, where *20210317* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210317/google_ml1/CloudMachineLearningEngine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/CloudMachineLearningEngine) ... * projects - * [*explain*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectExplainCall), [*get config*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectGetConfigCall), [*jobs cancel*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobCancelCall), [*jobs create*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobCreateCall), [*jobs get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobGetCall), [*jobs get iam policy*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobGetIamPolicyCall), [*jobs list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobPatchCall), [*jobs set iam policy*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobSetIamPolicyCall), [*jobs test iam permissions*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectJobTestIamPermissionCall), [*locations get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationOperationGetCall), [*locations studies create*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyCreateCall), [*locations studies delete*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyDeleteCall), [*locations studies get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyGetCall), [*locations studies list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyListCall), [*locations studies trials add measurement*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialAddMeasurementCall), [*locations studies trials check early stopping state*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialCheckEarlyStoppingStateCall), [*locations studies trials complete*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialCompleteCall), [*locations studies trials create*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialCreateCall), [*locations studies trials delete*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialDeleteCall), [*locations studies trials get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialGetCall), [*locations studies trials list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialListCall), [*locations studies trials list optimal trials*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialListOptimalTrialCall), [*locations studies trials stop*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialStopCall), [*locations studies trials suggest*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectLocationStudyTrialSuggestCall), [*models create*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelCreateCall), [*models delete*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelDeleteCall), [*models get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelGetCall), [*models get iam policy*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelGetIamPolicyCall), [*models list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelListCall), [*models patch*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelPatchCall), [*models set iam policy*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelSetIamPolicyCall), [*models test iam permissions*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelTestIamPermissionCall), [*models versions create*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelVersionCreateCall), [*models versions delete*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelVersionDeleteCall), [*models versions get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelVersionGetCall), [*models versions list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelVersionListCall), [*models versions patch*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelVersionPatchCall), [*models versions set default*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectModelVersionSetDefaultCall), [*operations cancel*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectOperationListCall) and [*predict*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/api::ProjectPredictCall) + * [*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) @@ -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.3+20210317/google_ml1/CloudMachineLearningEngine)** +* **[Hub](https://docs.rs/google-ml1/2.0.4+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.3+20210317/google_ml1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/client::Part)** + * **[Parts](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ml1/2.0.3+20210317/google_ml1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-ml1/2.0.3+20210317/google_ml1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ml1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210317/google_ml1/client::RequestValue) and -[decodable](https://docs.rs/google-ml1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ml1/2.0.3+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.4+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.3+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.4+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.3+20210317/google_ml1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ml1/2.0.4+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 2d8801357f..54c7489df4 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/ml1/src/client.rs b/gen/ml1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/ml1/src/client.rs +++ b/gen/ml1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/ml1/src/lib.rs b/gen/ml1/src/lib.rs index f3fb391874..69a8c5dfe5 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.3+20210317*, where *20210317* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Machine Learning Engine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/ml/). diff --git a/gen/monitoring3-cli/Cargo.toml b/gen/monitoring3-cli/Cargo.toml index 8e70ec222d..6d31fc7629 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/monitoring3-cli/README.md b/gen/monitoring3-cli/README.md index 3a3909c9c6..dc11caf305 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.3*. +This documentation was generated from the *Monitoring* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash monitoring3 [options] diff --git a/gen/monitoring3-cli/mkdocs.yml b/gen/monitoring3-cli/mkdocs.yml index a64fe466bd..a8b84ddaba 100644 --- a/gen/monitoring3-cli/mkdocs.yml +++ b/gen/monitoring3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Monitoring v2.0.3+20210322 +site_name: Monitoring v2.0.4+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 7dd27c36b6..c90d764f43 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.3+20210322") + .version("2.0.4+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 5478d0bae4..bf6ba29576 100644 --- a/gen/monitoring3/Cargo.toml +++ b/gen/monitoring3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-monitoring3" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-monitoring3/2.0.4+20210322" license = "MIT" keywords = ["monitoring", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/monitoring3/README.md b/gen/monitoring3/README.md index 1d51ed1d77..6828744627 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.3+20210322*, where *20210322* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_monitoring3/Monitoring) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/Monitoring) ... * folders - * [*time series list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::FolderTimeSeryListCall) + * [*time series list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::FolderTimeSeryListCall) * organizations - * [*time series list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::OrganizationTimeSeryListCall) + * [*time series list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::OrganizationTimeSeryListCall) * projects - * [*alert policies create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectAlertPolicyCreateCall), [*alert policies delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectAlertPolicyDeleteCall), [*alert policies get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectAlertPolicyGetCall), [*alert policies list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectAlertPolicyListCall), [*alert policies patch*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectAlertPolicyPatchCall), [*collectd time series create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectCollectdTimeSeryCreateCall), [*groups create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectGroupCreateCall), [*groups delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectGroupDeleteCall), [*groups get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectGroupGetCall), [*groups list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectGroupListCall), [*groups members list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectGroupMemberListCall), [*groups update*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectGroupUpdateCall), [*metric descriptors create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectMetricDescriptorCreateCall), [*metric descriptors delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectMetricDescriptorDeleteCall), [*metric descriptors get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectMetricDescriptorGetCall), [*metric descriptors list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectMetricDescriptorListCall), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectMonitoredResourceDescriptorGetCall), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectMonitoredResourceDescriptorListCall), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelDescriptorGetCall), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelDescriptorListCall), [*notification channels create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelCreateCall), [*notification channels delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelDeleteCall), [*notification channels get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelGetCall), [*notification channels get verification code*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelGetVerificationCodeCall), [*notification channels list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelListCall), [*notification channels patch*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelPatchCall), [*notification channels send verification code*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelSendVerificationCodeCall), [*notification channels verify*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectNotificationChannelVerifyCall), [*time series create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectTimeSeryCreateCall), [*time series list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectTimeSeryListCall), [*time series query*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectTimeSeryQueryCall), [*uptime check configs create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectUptimeCheckConfigCreateCall), [*uptime check configs delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectUptimeCheckConfigDeleteCall), [*uptime check configs get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectUptimeCheckConfigGetCall), [*uptime check configs list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectUptimeCheckConfigListCall) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ProjectUptimeCheckConfigPatchCall) -* [services](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::Service) - * [*create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceCreateCall), [*delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceDeleteCall), [*get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceGetCall), [*list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceListCall), [*patch*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServicePatchCall), [*service level objectives create*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveCreateCall), [*service level objectives delete*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveDeleteCall), [*service level objectives get*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveGetCall), [*service level objectives list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveListCall) and [*service level objectives patch*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::ServiceServiceLevelObjectivePatchCall) -* [uptime check ips](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::UptimeCheckIp) - * [*list*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/api::UptimeCheckIpListCall) + * [*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) @@ -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.3+20210322/google_monitoring3/Monitoring)** +* **[Hub](https://docs.rs/google-monitoring3/2.0.4+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.3+20210322/google_monitoring3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/client::CallBuilder) -* **[Resources](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/client::Part)** + * **[Parts](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-monitoring3/2.0.3+20210322/google_monitoring3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-monitoring3/2.0.3+20210322/google_monitoring3/client::Delegate) to the -[Method Builder](https://docs.rs/google-monitoring3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_monitoring3/client::RequestValue) and -[decodable](https://docs.rs/google-monitoring3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/2.0.3+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.4+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.3+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.4+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.3+20210322/google_monitoring3/client::RequestValue) are moved +* [request values](https://docs.rs/google-monitoring3/2.0.4+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 69e6f399d7..26ea3057ef 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/monitoring3/src/client.rs b/gen/monitoring3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/monitoring3/src/client.rs +++ b/gen/monitoring3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs index 41da07a1e8..6ac7430a02 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.3+20210322*, where *20210322* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Monitoring* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/api/). diff --git a/gen/mybusiness4-cli/Cargo.toml b/gen/mybusiness4-cli/Cargo.toml index cee833e3c7..7ed4afcdc6 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.3+0" +version = "2.0.4+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.3+0" +version = "2.0.4+0" diff --git a/gen/mybusiness4-cli/README.md b/gen/mybusiness4-cli/README.md index 2ad7d41080..6d7d2f4487 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.3*. +This documentation was generated from the *My Business* API at revision *0*. The CLI is at version *2.0.4*. ```bash mybusiness4 [options] diff --git a/gen/mybusiness4-cli/mkdocs.yml b/gen/mybusiness4-cli/mkdocs.yml index f0aa9319ee..2220bb6399 100644 --- a/gen/mybusiness4-cli/mkdocs.yml +++ b/gen/mybusiness4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business v2.0.3+0 +site_name: My Business v2.0.4+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 903e2a7764..a80425301b 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.3+0") + .version("2.0.4+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 f1f4520f29..03bfd22fc3 100644 --- a/gen/mybusiness4/Cargo.toml +++ b/gen/mybusiness4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusiness4" -version = "2.0.3+0" +version = "2.0.4+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.3+0" +documentation = "https://docs.rs/google-mybusiness4/2.0.4+0" license = "MIT" keywords = ["mybusiness", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/mybusiness4/README.md b/gen/mybusiness4/README.md index 09e57bff86..1bdc3e9d7a 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.3+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+0/google_mybusiness4/MyBusiness) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/MyBusiness) ... -* [accounts](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::Account) - * [*admins create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountCreateCall), [*delete notifications*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountDeleteNotificationCall), [*generate account number*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountGenerateAccountNumberCall), [*get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountGetCall), [*get notifications*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountGetNotificationCall), [*invitations accept*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountListCall), [*list recommend google locations*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountListRecommendGoogleLocationCall), [*locations admins create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationAdminCreateCall), [*locations admins delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationAdminDeleteCall), [*locations admins list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationAdminListCall), [*locations admins patch*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationAdminPatchCall), [*locations associate*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationAssociateCall), [*locations batch get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationBatchGetCall), [*locations batch get reviews*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationBatchGetReviewCall), [*locations clear association*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationClearAssociationCall), [*locations create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationCreateCall), [*locations delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationDeleteCall), [*locations fetch verification options*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationFetchVerificationOptionCall), [*locations find matches*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationFindMatcheCall), [*locations followers get metadata*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationFollowerGetMetadataCall), [*locations get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationGetCall), [*locations get google updated*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationGetGoogleUpdatedCall), [*locations list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationListCall), [*locations local posts create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationLocalPostCreateCall), [*locations local posts delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationLocalPostDeleteCall), [*locations local posts get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationLocalPostGetCall), [*locations local posts list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationLocalPostListCall), [*locations local posts patch*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationLocalPostPatchCall), [*locations local posts report insights*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationLocalPostReportInsightCall), [*locations media create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaCreateCall), [*locations media customers get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaCustomerGetCall), [*locations media customers list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaCustomerListCall), [*locations media delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaDeleteCall), [*locations media get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaGetCall), [*locations media list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaListCall), [*locations media patch*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaPatchCall), [*locations media start upload*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationMediaStartUploadCall), [*locations patch*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationPatchCall), [*locations questions answers delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionAnswerDeleteCall), [*locations questions answers list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionAnswerListCall), [*locations questions answers upsert*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionAnswerUpsertCall), [*locations questions create*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionCreateCall), [*locations questions delete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionDeleteCall), [*locations questions list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionListCall), [*locations questions patch*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationQuestionPatchCall), [*locations report insights*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationReportInsightCall), [*locations reviews delete reply*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationReviewDeleteReplyCall), [*locations reviews get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationReviewGetCall), [*locations reviews list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationReviewListCall), [*locations reviews update reply*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationReviewUpdateReplyCall), [*locations transfer*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationTransferCall), [*locations verifications complete*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationVerificationCompleteCall), [*locations verifications list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationVerificationListCall), [*locations verify*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountLocationVerifyCall), [*update*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountUpdateCall) and [*update notifications*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AccountUpdateNotificationCall) -* [attributes](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::Attribute) - * [*list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::AttributeListCall) -* [categories](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::Category) - * [*list*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::CategoryListCall) -* [chains](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::Chain) - * [*get*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::ChainSearchCall) -* [google locations](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::GoogleLocation) - * [*report*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::GoogleLocationReportCall) and [*search*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::GoogleLocationSearchCall) -* [verification tokens](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::VerificationToken) - * [*generate*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/api::VerificationTokenGenerateCall) +* [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) @@ -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.3+0/google_mybusiness4/MyBusiness)** +* **[Hub](https://docs.rs/google-mybusiness4/2.0.4+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.3+0/google_mybusiness4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/client::Part)** + * **[Parts](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusiness4/2.0.3+0/google_mybusiness4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -203,17 +203,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusiness4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +223,29 @@ Methods supporting uploads can do so using up to 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.3+0/google_mybusiness4/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusiness4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+0/google_mybusiness4/client::RequestValue) and -[decodable](https://docs.rs/google-mybusiness4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusiness4/2.0.3+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.4+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.3+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.4+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.3+0/google_mybusiness4/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusiness4/2.0.4+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 2116630c84..5705ea6fc7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/mybusiness4/src/client.rs b/gen/mybusiness4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/mybusiness4/src/client.rs +++ b/gen/mybusiness4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/mybusiness4/src/lib.rs b/gen/mybusiness4/src/lib.rs index ec643aefbd..b6224d8cee 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.3+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *My Business* *v4* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). diff --git a/gen/mybusinessaccountmanagement1-cli/Cargo.toml b/gen/mybusinessaccountmanagement1-cli/Cargo.toml index 68b78394d6..4d52f8ac6d 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/mybusinessaccountmanagement1-cli/README.md b/gen/mybusinessaccountmanagement1-cli/README.md index a7de08d8c5..899a957d37 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.3*. +This documentation was generated from the *My Business Account Management* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash mybusinessaccountmanagement1 [options] diff --git a/gen/mybusinessaccountmanagement1-cli/mkdocs.yml b/gen/mybusinessaccountmanagement1-cli/mkdocs.yml index a89bd9f739..0d7fdac27c 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.3+20210330 +site_name: My Business Account Management v2.0.4+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 d0626fcaf5..f295d6e750 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.3+20210330") + .version("2.0.4+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 c3c572af8b..c81950ad37 100644 --- a/gen/mybusinessaccountmanagement1/Cargo.toml +++ b/gen/mybusinessaccountmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessaccountmanagement1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330" license = "MIT" keywords = ["mybusinessaccountman", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/mybusinessaccountmanagement1/README.md b/gen/mybusinessaccountmanagement1/README.md index bd86f05624..ae4497bf92 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.3+20210330*, where *20210330* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement) ... -* [accounts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::Account) - * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountCreateCall), [*get*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountGetCall), [*invitations accept*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountListCall) and [*patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::AccountPatchCall) +* [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) * locations - * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::LocationAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::LocationAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::LocationAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::LocationAdminPatchCall) and [*transfer location*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/api::LocationTransferLocationCall) + * [*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) @@ -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.3+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement)** +* **[Hub](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+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.3+20210330/google_mybusinessaccountmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-mybusinessaccountmanagement1/2.0.3+20210330/google_mybusinessaccountmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_mybusinessaccountmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_mybusinessaccountmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+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 846095d73e..e007e9a445 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/mybusinessaccountmanagement1/src/client.rs b/gen/mybusinessaccountmanagement1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/mybusinessaccountmanagement1/src/client.rs +++ b/gen/mybusinessaccountmanagement1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/mybusinessaccountmanagement1/src/lib.rs b/gen/mybusinessaccountmanagement1/src/lib.rs index 9733b6591b..fbcf447fb1 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.3+20210330*, where *20210330* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *My Business Account Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). diff --git a/gen/networkconnectivity1_alpha1-cli/Cargo.toml b/gen/networkconnectivity1_alpha1-cli/Cargo.toml index 3930e888ff..3b1c4423d6 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.3+20210324" +version = "2.0.4+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.3+20210324" +version = "2.0.4+20210324" diff --git a/gen/networkconnectivity1_alpha1-cli/README.md b/gen/networkconnectivity1_alpha1-cli/README.md index 155d9e4c57..4c53f651d1 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.3*. +This documentation was generated from the *networkconnectivity* API at revision *20210324*. The CLI is at version *2.0.4*. ```bash networkconnectivity1-alpha1 [options] diff --git a/gen/networkconnectivity1_alpha1-cli/mkdocs.yml b/gen/networkconnectivity1_alpha1-cli/mkdocs.yml index 44ac40549e..65c6935bfd 100644 --- a/gen/networkconnectivity1_alpha1-cli/mkdocs.yml +++ b/gen/networkconnectivity1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: networkconnectivity v2.0.3+20210324 +site_name: networkconnectivity v2.0.4+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 055975cfd5..39bf52b698 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.3+20210324") + .version("2.0.4+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 c1bc9efdb8..764824f7a7 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.3+20210324" +version = "2.0.4+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.3+20210324" +documentation = "https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+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 75cf2ad92c..e0f1689152 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.3+20210324*, where *20210324* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210324/google_networkconnectivity1_alpha1/Networkconnectivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/Networkconnectivity) ... * projects - * [*locations get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations internal ranges get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeGetIamPolicyCall), [*locations internal ranges set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeSetIamPolicyCall), [*locations internal ranges test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationListCall), [*locations policy based routes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteGetIamPolicyCall), [*locations policy based routes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteSetIamPolicyCall), [*locations policy based routes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteTestIamPermissionCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeTestIamPermissionCall) + * [*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) @@ -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.3+20210324/google_networkconnectivity1_alpha1/Networkconnectivity)** +* **[Hub](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+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.3+20210324/google_networkconnectivity1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+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. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-networkconnectivity1_alpha1/2.0.3+20210324/google_networkconnectivity1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210324/google_networkconnectivity1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20210324/google_networkconnectivity1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+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 f4c73995cb..5271de5045 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/networkconnectivity1_alpha1/src/client.rs b/gen/networkconnectivity1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/networkconnectivity1_alpha1/src/client.rs +++ b/gen/networkconnectivity1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/networkconnectivity1_alpha1/src/lib.rs b/gen/networkconnectivity1_alpha1/src/lib.rs index 9467e54a2d..056da83c06 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.3+20210324*, where *20210324* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *networkconnectivity* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/network-connectivity/docs). diff --git a/gen/networkmanagement1-cli/Cargo.toml b/gen/networkmanagement1-cli/Cargo.toml index ea80700631..d9c34d45e4 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/networkmanagement1-cli/README.md b/gen/networkmanagement1-cli/README.md index b4f3c87805..98e188125c 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.3*. +This documentation was generated from the *Network Management* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash networkmanagement1 [options] diff --git a/gen/networkmanagement1-cli/mkdocs.yml b/gen/networkmanagement1-cli/mkdocs.yml index 9dc7001f93..11c505c81c 100644 --- a/gen/networkmanagement1-cli/mkdocs.yml +++ b/gen/networkmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Network Management v2.0.3+20210325 +site_name: Network Management v2.0.4+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 93a027cb63..a8495373ab 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.3+20210325") + .version("2.0.4+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 4ee74e0d7e..5a0dee7e51 100644 --- a/gen/networkmanagement1/Cargo.toml +++ b/gen/networkmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkmanagement1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-networkmanagement1/2.0.4+20210325" license = "MIT" keywords = ["networkmanagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/networkmanagement1/README.md b/gen/networkmanagement1/README.md index bb6b44d458..6acf5f8c15 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.3+20210325*, where *20210325* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_networkmanagement1/NetworkManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/NetworkManagement) ... * projects - * [*locations get*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGetCall), [*locations global connectivity tests create*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestCreateCall), [*locations global connectivity tests delete*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestDeleteCall), [*locations global connectivity tests get*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetCall), [*locations global connectivity tests get iam policy*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetIamPolicyCall), [*locations global connectivity tests list*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestListCall), [*locations global connectivity tests patch*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestPatchCall), [*locations global connectivity tests rerun*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestRerunCall), [*locations global connectivity tests set iam policy*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestSetIamPolicyCall), [*locations global connectivity tests test iam permissions*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestTestIamPermissionCall), [*locations global operations cancel*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/api::ProjectLocationListCall) + * [*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) @@ -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.3+20210325/google_networkmanagement1/NetworkManagement)** +* **[Hub](https://docs.rs/google-networkmanagement1/2.0.4+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.3+20210325/google_networkmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkmanagement1/2.0.3+20210325/google_networkmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkmanagement1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-networkmanagement1/2.0.3+20210325/google_networkmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkmanagement1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_networkmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-networkmanagement1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkmanagement1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_networkmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkmanagement1/2.0.4+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 3a8461ff74..6c4cab7daf 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/networkmanagement1/src/client.rs b/gen/networkmanagement1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/networkmanagement1/src/client.rs +++ b/gen/networkmanagement1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/networkmanagement1/src/lib.rs b/gen/networkmanagement1/src/lib.rs index 8f2d1b4153..5ce885e6ea 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.3+20210325*, where *20210325* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Network Management* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/). diff --git a/gen/notebooks1-cli/Cargo.toml b/gen/notebooks1-cli/Cargo.toml index ff138ce2c5..d4a82cd4ff 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.3+20210305" +version = "2.0.4+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.3+20210305" +version = "2.0.4+20210305" diff --git a/gen/notebooks1-cli/README.md b/gen/notebooks1-cli/README.md index 3525e0efd8..ef9bfffede 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.3*. +This documentation was generated from the *AI Platform Notebooks* API at revision *20210305*. The CLI is at version *2.0.4*. ```bash notebooks1 [options] diff --git a/gen/notebooks1-cli/mkdocs.yml b/gen/notebooks1-cli/mkdocs.yml index 722e298162..13e529b636 100644 --- a/gen/notebooks1-cli/mkdocs.yml +++ b/gen/notebooks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AI Platform Notebooks v2.0.3+20210305 +site_name: AI Platform Notebooks v2.0.4+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 f6fa516589..087a00c2fa 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.3+20210305") + .version("2.0.4+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 8044e533a2..996ef19136 100644 --- a/gen/notebooks1/Cargo.toml +++ b/gen/notebooks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-notebooks1" -version = "2.0.3+20210305" +version = "2.0.4+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.3+20210305" +documentation = "https://docs.rs/google-notebooks1/2.0.4+20210305" license = "MIT" keywords = ["notebooks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/notebooks1/README.md b/gen/notebooks1/README.md index e6d4a332a5..a603ca68e7 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.3+20210305*, where *20210305* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210305/google_notebooks1/AIPlatformNotebooks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/AIPlatformNotebooks) ... * projects - * [*locations environments create*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationEnvironmentListCall), [*locations executions create*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationExecutionCreateCall), [*locations executions delete*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationExecutionDeleteCall), [*locations executions get*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationExecutionGetCall), [*locations executions list*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationExecutionListCall), [*locations get*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances get instance health*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceGetInstanceHealthCall), [*locations instances is upgradeable*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceIsUpgradeableCall), [*locations instances list*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceListCall), [*locations instances register*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceRegisterCall), [*locations instances report*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceReportCall), [*locations instances reset*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceResetCall), [*locations instances set accelerator*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceSetAcceleratorCall), [*locations instances set iam policy*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances set labels*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceSetLabelCall), [*locations instances set machine type*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceSetMachineTypeCall), [*locations instances start*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceStartCall), [*locations instances stop*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceStopCall), [*locations instances test iam permissions*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceUpgradeCall), [*locations instances upgrade internal*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationInstanceUpgradeInternalCall), [*locations list*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationOperationListCall), [*locations schedules create*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationScheduleCreateCall), [*locations schedules delete*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationScheduleDeleteCall), [*locations schedules get*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationScheduleGetCall), [*locations schedules list*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationScheduleListCall) and [*locations schedules trigger*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/api::ProjectLocationScheduleTriggerCall) + * [*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) @@ -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.3+20210305/google_notebooks1/AIPlatformNotebooks)** +* **[Hub](https://docs.rs/google-notebooks1/2.0.4+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.3+20210305/google_notebooks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/client::Part)** + * **[Parts](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-notebooks1/2.0.3+20210305/google_notebooks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-notebooks1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-notebooks1/2.0.3+20210305/google_notebooks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-notebooks1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210305/google_notebooks1/client::RequestValue) and -[decodable](https://docs.rs/google-notebooks1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-notebooks1/2.0.3+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.4+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.3+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.4+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.3+20210305/google_notebooks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-notebooks1/2.0.4+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 d17a926dc0..9ffa9bbb0b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/notebooks1/src/client.rs b/gen/notebooks1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/notebooks1/src/client.rs +++ b/gen/notebooks1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/notebooks1/src/lib.rs b/gen/notebooks1/src/lib.rs index 7d253293ac..a328ac925e 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.3+20210305*, where *20210305* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/ondemandscanning1-cli/Cargo.toml b/gen/ondemandscanning1-cli/Cargo.toml index db155bbee6..88a4045f0a 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/ondemandscanning1-cli/README.md b/gen/ondemandscanning1-cli/README.md index 5897475a78..6893679daf 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.3*. +This documentation was generated from the *On-Demand Scanning* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash ondemandscanning1 [options] diff --git a/gen/ondemandscanning1-cli/mkdocs.yml b/gen/ondemandscanning1-cli/mkdocs.yml index 200e0dbac8..7dc75711d6 100644 --- a/gen/ondemandscanning1-cli/mkdocs.yml +++ b/gen/ondemandscanning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: On-Demand Scanning v2.0.3+20210329 +site_name: On-Demand Scanning v2.0.4+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 9294129ae1..f5a16d6083 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.3+20210329") + .version("2.0.4+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 7bd07bbe58..8fcdbb2c01 100644 --- a/gen/ondemandscanning1/Cargo.toml +++ b/gen/ondemandscanning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ondemandscanning1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-ondemandscanning1/2.0.4+20210329" license = "MIT" keywords = ["ondemandscanning", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/ondemandscanning1/README.md b/gen/ondemandscanning1/README.md index ba30228a88..384465da7c 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.3+20210329*, where *20210329* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_ondemandscanning1/OnDemandScanning) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/OnDemandScanning) ... * projects - * [*locations operations cancel*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationOperationWaitCall), [*locations scans analyze packages*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationScanAnalyzePackageCall) and [*locations scans vulnerabilities list*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/api::ProjectLocationScanVulnerabilityListCall) + * [*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) @@ -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.3+20210329/google_ondemandscanning1/OnDemandScanning)** +* **[Hub](https://docs.rs/google-ondemandscanning1/2.0.4+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.3+20210329/google_ondemandscanning1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/client::Part)** + * **[Parts](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ondemandscanning1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-ondemandscanning1/2.0.3+20210329/google_ondemandscanning1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ondemandscanning1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_ondemandscanning1/client::RequestValue) and -[decodable](https://docs.rs/google-ondemandscanning1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ondemandscanning1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_ondemandscanning1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ondemandscanning1/2.0.4+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 094aecb5da..e3ec508cce 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/ondemandscanning1/src/client.rs b/gen/ondemandscanning1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/ondemandscanning1/src/client.rs +++ b/gen/ondemandscanning1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/ondemandscanning1/src/lib.rs b/gen/ondemandscanning1/src/lib.rs index 9e502f7872..4f93d6ffec 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.3+20210329*, where *20210329* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/orgpolicy2-cli/Cargo.toml b/gen/orgpolicy2-cli/Cargo.toml index c6f55f8b90..ff09cbfd01 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/orgpolicy2-cli/README.md b/gen/orgpolicy2-cli/README.md index 9a95d1e842..02d10e2040 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.3*. +This documentation was generated from the *OrgPolicy API* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash orgpolicy2 [options] diff --git a/gen/orgpolicy2-cli/mkdocs.yml b/gen/orgpolicy2-cli/mkdocs.yml index 0ecc0b4f1f..61195a2a0c 100644 --- a/gen/orgpolicy2-cli/mkdocs.yml +++ b/gen/orgpolicy2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: OrgPolicy API v2.0.3+20210330 +site_name: OrgPolicy API v2.0.4+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 4651560892..1250059bfd 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.3+20210330") + .version("2.0.4+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 e4b9440472..2b8397e4db 100644 --- a/gen/orgpolicy2/Cargo.toml +++ b/gen/orgpolicy2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-orgpolicy2" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-orgpolicy2/2.0.4+20210330" license = "MIT" keywords = ["orgpolicy", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/orgpolicy2/README.md b/gen/orgpolicy2/README.md index e5737acb94..fe21bbc159 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.3+20210330*, where *20210330* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_orgpolicy2/OrgPolicyAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/OrgPolicyAPI) ... * folders - * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::FolderPolicyPatchCall) + * [*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) * organizations - * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::OrganizationPolicyPatchCall) + * [*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) * projects - * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/api::ProjectPolicyPatchCall) + * [*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) @@ -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.3+20210330/google_orgpolicy2/OrgPolicyAPI)** +* **[Hub](https://docs.rs/google-orgpolicy2/2.0.4+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.3+20210330/google_orgpolicy2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/client::CallBuilder) -* **[Resources](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/client::Part)** + * **[Parts](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-orgpolicy2/2.0.3+20210330/google_orgpolicy2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-orgpolicy2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-orgpolicy2/2.0.3+20210330/google_orgpolicy2/client::Delegate) to the -[Method Builder](https://docs.rs/google-orgpolicy2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_orgpolicy2/client::RequestValue) and -[decodable](https://docs.rs/google-orgpolicy2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-orgpolicy2/2.0.3+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.4+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.3+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.4+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.3+20210330/google_orgpolicy2/client::RequestValue) are moved +* [request values](https://docs.rs/google-orgpolicy2/2.0.4+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 5f5929b850..7950194bce 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/orgpolicy2/src/client.rs b/gen/orgpolicy2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/orgpolicy2/src/client.rs +++ b/gen/orgpolicy2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/orgpolicy2/src/lib.rs b/gen/orgpolicy2/src/lib.rs index d8cdbe1a72..1ce23b97a8 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.3+20210330*, where *20210330* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/oslogin1-cli/Cargo.toml b/gen/oslogin1-cli/Cargo.toml index d5d5a7006e..c99331e1ad 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/oslogin1-cli/README.md b/gen/oslogin1-cli/README.md index 5a4c973136..af72f8a8bc 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.3*. +This documentation was generated from the *Cloud OS Login* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash oslogin1 [options] diff --git a/gen/oslogin1-cli/mkdocs.yml b/gen/oslogin1-cli/mkdocs.yml index d6bc7a3765..26f03c4d2a 100644 --- a/gen/oslogin1-cli/mkdocs.yml +++ b/gen/oslogin1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v2.0.3+20210316 +site_name: Cloud OS Login v2.0.4+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 3e8ab0e84c..7569c1cb6d 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.3+20210316") + .version("2.0.4+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 bba02135c0..a1f191d6c1 100644 --- a/gen/oslogin1/Cargo.toml +++ b/gen/oslogin1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1" -version = "2.0.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-oslogin1/2.0.4+20210316" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/oslogin1/README.md b/gen/oslogin1/README.md index e6b413286b..e96bc382c4 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.3+20210316*, where *20210316* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_oslogin1/CloudOSLogin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/CloudOSLogin) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/api::UserProjectDeleteCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/api::UserSshPublicKeyPatchCall) + * [*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) @@ -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.3+20210316/google_oslogin1/CloudOSLogin)** +* **[Hub](https://docs.rs/google-oslogin1/2.0.4+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.3+20210316/google_oslogin1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/client::CallBuilder) -* **[Resources](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/client::Part)** + * **[Parts](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1/2.0.3+20210316/google_oslogin1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-oslogin1/2.0.3+20210316/google_oslogin1/client::Delegate) to the -[Method Builder](https://docs.rs/google-oslogin1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_oslogin1/client::RequestValue) and -[decodable](https://docs.rs/google-oslogin1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-oslogin1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_oslogin1/client::RequestValue) are moved +* [request values](https://docs.rs/google-oslogin1/2.0.4+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 331ce1a6b5..6e8721651c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/oslogin1/src/client.rs b/gen/oslogin1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/oslogin1/src/client.rs +++ b/gen/oslogin1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/oslogin1/src/lib.rs b/gen/oslogin1/src/lib.rs index 6881c11c20..4166cf9ac2 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.3+20210316*, where *20210316* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud OS Login* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/oslogin/). diff --git a/gen/oslogin1_beta-cli/Cargo.toml b/gen/oslogin1_beta-cli/Cargo.toml index 4a677098a4..c3c47e0cd0 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/oslogin1_beta-cli/README.md b/gen/oslogin1_beta-cli/README.md index 98c509258c..d230cd15ae 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.3*. +This documentation was generated from the *Cloud OS Login* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash oslogin1-beta [options] diff --git a/gen/oslogin1_beta-cli/mkdocs.yml b/gen/oslogin1_beta-cli/mkdocs.yml index ec056913b4..3646f88cad 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.3+20210316 +site_name: Cloud OS Login v2.0.4+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 e4cea470c6..a5a92dfca8 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.3+20210316") + .version("2.0.4+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 4bce023e18..f25a7b9f5f 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.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-oslogin1_beta/2.0.4+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 eb8d6b8a5f..c277664aea 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.3+20210316*, where *20210316* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_oslogin1_beta/CloudOSLogin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/CloudOSLogin) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/api::UserProjectDeleteCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/api::UserSshPublicKeyPatchCall) + * [*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) @@ -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.3+20210316/google_oslogin1_beta/CloudOSLogin)** +* **[Hub](https://docs.rs/google-oslogin1_beta/2.0.4+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.3+20210316/google_oslogin1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/client::Part)** + * **[Parts](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-oslogin1_beta/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-oslogin1_beta/2.0.3+20210316/google_oslogin1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-oslogin1_beta/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_oslogin1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-oslogin1_beta/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-oslogin1_beta/2.0.3+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.4+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.3+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.4+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.3+20210316/google_oslogin1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-oslogin1_beta/2.0.4+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 a153c8823f..777423a35d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/oslogin1_beta/src/client.rs b/gen/oslogin1_beta/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/oslogin1_beta/src/client.rs +++ b/gen/oslogin1_beta/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/oslogin1_beta/src/lib.rs b/gen/oslogin1_beta/src/lib.rs index 71317855d5..947d361b39 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.3+20210316*, where *20210316* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/pagespeedonline2-cli/Cargo.toml b/gen/pagespeedonline2-cli/Cargo.toml index 165cdfd8ad..b32ab0444f 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.3+20191206" +version = "2.0.4+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.3+20191206" +version = "2.0.4+20191206" diff --git a/gen/pagespeedonline2-cli/README.md b/gen/pagespeedonline2-cli/README.md index f5aa9309d2..91c2fdb9e5 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.3*. +This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *2.0.4*. ```bash pagespeedonline2 [options] diff --git a/gen/pagespeedonline2-cli/mkdocs.yml b/gen/pagespeedonline2-cli/mkdocs.yml index d22b62cafa..19f2ee146e 100644 --- a/gen/pagespeedonline2-cli/mkdocs.yml +++ b/gen/pagespeedonline2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v2.0.3+20191206 +site_name: pagespeedonline v2.0.4+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 93f6bcf142..0fd369bda8 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.3+20191206") + .version("2.0.4+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 c5a4f742e3..ee2900e31a 100644 --- a/gen/pagespeedonline2/Cargo.toml +++ b/gen/pagespeedonline2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline2" -version = "2.0.3+20191206" +version = "2.0.4+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.3+20191206" +documentation = "https://docs.rs/google-pagespeedonline2/2.0.4+20191206" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pagespeedonline2/README.md b/gen/pagespeedonline2/README.md index 2bb7aa4915..daef67776d 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.3+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20191206/google_pagespeedonline2/Pagespeedonline) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/Pagespeedonline) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/2.0.3+20191206/google_pagespeedonline2/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/2.0.4+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.3+20191206/google_pagespeedonline2/Pagespeedonline)** +* **[Hub](https://docs.rs/google-pagespeedonline2/2.0.4+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.3+20191206/google_pagespeedonline2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/2.0.3+20191206/google_pagespeedonline2/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline2/2.0.3+20191206/google_pagespeedonline2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline2/2.0.3+20191206/google_pagespeedonline2/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline2/2.0.3+20191206/google_pagespeedonline2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-pagespeedonline2/2.0.3+20191206/google_pagespeedonline2/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20191206/google_pagespeedonline2/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/2.0.3+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.4+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.3+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.4+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.3+20191206/google_pagespeedonline2/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline2/2.0.4+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 536b50e281..8d3b1d8fc6 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/pagespeedonline2/src/client.rs b/gen/pagespeedonline2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/pagespeedonline2/src/client.rs +++ b/gen/pagespeedonline2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/pagespeedonline2/src/lib.rs b/gen/pagespeedonline2/src/lib.rs index 022ed397f5..f816fb1bb2 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.3+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *pagespeedonline* *v2* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). diff --git a/gen/pagespeedonline4-cli/Cargo.toml b/gen/pagespeedonline4-cli/Cargo.toml index e7632f91f5..997e230350 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.3+20191206" +version = "2.0.4+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.3+20191206" +version = "2.0.4+20191206" diff --git a/gen/pagespeedonline4-cli/README.md b/gen/pagespeedonline4-cli/README.md index 71f178ac9a..119d039579 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.3*. +This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *2.0.4*. ```bash pagespeedonline4 [options] diff --git a/gen/pagespeedonline4-cli/mkdocs.yml b/gen/pagespeedonline4-cli/mkdocs.yml index 45376d2322..91a3d6b2f6 100644 --- a/gen/pagespeedonline4-cli/mkdocs.yml +++ b/gen/pagespeedonline4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v2.0.3+20191206 +site_name: pagespeedonline v2.0.4+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 cba0745a7a..227f0472f0 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.3+20191206") + .version("2.0.4+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 0bc8b205f8..bd2e0d9fc8 100644 --- a/gen/pagespeedonline4/Cargo.toml +++ b/gen/pagespeedonline4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline4" -version = "2.0.3+20191206" +version = "2.0.4+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.3+20191206" +documentation = "https://docs.rs/google-pagespeedonline4/2.0.4+20191206" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pagespeedonline4/README.md b/gen/pagespeedonline4/README.md index 45d51b0ad4..e668b4369b 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.3+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20191206/google_pagespeedonline4/Pagespeedonline) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/Pagespeedonline) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/2.0.3+20191206/google_pagespeedonline4/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/2.0.4+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.3+20191206/google_pagespeedonline4/Pagespeedonline)** +* **[Hub](https://docs.rs/google-pagespeedonline4/2.0.4+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.3+20191206/google_pagespeedonline4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/2.0.3+20191206/google_pagespeedonline4/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline4/2.0.3+20191206/google_pagespeedonline4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline4/2.0.3+20191206/google_pagespeedonline4/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline4/2.0.3+20191206/google_pagespeedonline4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-pagespeedonline4/2.0.3+20191206/google_pagespeedonline4/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20191206/google_pagespeedonline4/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline4/2.0.3+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.4+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.3+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.4+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.3+20191206/google_pagespeedonline4/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline4/2.0.4+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 7e5b507f07..37b9deeee8 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/pagespeedonline4/src/client.rs b/gen/pagespeedonline4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/pagespeedonline4/src/client.rs +++ b/gen/pagespeedonline4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/pagespeedonline4/src/lib.rs b/gen/pagespeedonline4/src/lib.rs index e274a5f7f0..b3ba5501b9 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.3+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/pagespeedonline5-cli/Cargo.toml b/gen/pagespeedonline5-cli/Cargo.toml index da614d5f92..b1e29b87fb 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/pagespeedonline5-cli/README.md b/gen/pagespeedonline5-cli/README.md index dac1e08519..ce1d018774 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.3*. +This documentation was generated from the *Pagespeed Insights* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash pagespeedonline5 [options] diff --git a/gen/pagespeedonline5-cli/mkdocs.yml b/gen/pagespeedonline5-cli/mkdocs.yml index 3ef887da1c..bdb060bf4b 100644 --- a/gen/pagespeedonline5-cli/mkdocs.yml +++ b/gen/pagespeedonline5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pagespeed Insights v2.0.3+20210330 +site_name: Pagespeed Insights v2.0.4+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 cc3fb10b53..7ece3c1970 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.3+20210330") + .version("2.0.4+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 a93adce139..6a2c104238 100644 --- a/gen/pagespeedonline5/Cargo.toml +++ b/gen/pagespeedonline5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline5" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-pagespeedonline5/2.0.4+20210330" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pagespeedonline5/README.md b/gen/pagespeedonline5/README.md index 8758b328a8..87f3bcc1af 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.3+20210330*, where *20210330* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_pagespeedonline5/PagespeedInsights) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/PagespeedInsights) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/2.0.3+20210330/google_pagespeedonline5/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/2.0.4+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.3+20210330/google_pagespeedonline5/PagespeedInsights)** +* **[Hub](https://docs.rs/google-pagespeedonline5/2.0.4+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.3+20210330/google_pagespeedonline5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/2.0.3+20210330/google_pagespeedonline5/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline5/2.0.3+20210330/google_pagespeedonline5/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline5/2.0.3+20210330/google_pagespeedonline5/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline5/2.0.3+20210330/google_pagespeedonline5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-pagespeedonline5/2.0.3+20210330/google_pagespeedonline5/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline5/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_pagespeedonline5/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline5/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline5/2.0.3+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.4+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.3+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.4+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.3+20210330/google_pagespeedonline5/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline5/2.0.4+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 44125c7b6b..09589aed6c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/pagespeedonline5/src/client.rs b/gen/pagespeedonline5/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/pagespeedonline5/src/client.rs +++ b/gen/pagespeedonline5/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/pagespeedonline5/src/lib.rs b/gen/pagespeedonline5/src/lib.rs index f537faea29..3a7a7dad5b 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.3+20210330*, where *20210330* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/partners2-cli/Cargo.toml b/gen/partners2-cli/Cargo.toml index b14cc7e7c1..6e2e22a81d 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.3+20180925" +version = "2.0.4+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.3+20180925" +version = "2.0.4+20180925" diff --git a/gen/partners2-cli/README.md b/gen/partners2-cli/README.md index cbe16dcbf9..2f54baeebd 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.3*. +This documentation was generated from the *Partners* API at revision *20180925*. The CLI is at version *2.0.4*. ```bash partners2 [options] diff --git a/gen/partners2-cli/mkdocs.yml b/gen/partners2-cli/mkdocs.yml index daf64205fe..8bb4a0942a 100644 --- a/gen/partners2-cli/mkdocs.yml +++ b/gen/partners2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Partners v2.0.3+20180925 +site_name: Partners v2.0.4+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 4ff0732022..3aa6ede372 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.3+20180925") + .version("2.0.4+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 e49b37ca37..2ad3bd51a6 100644 --- a/gen/partners2/Cargo.toml +++ b/gen/partners2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-partners2" -version = "2.0.3+20180925" +version = "2.0.4+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.3+20180925" +documentation = "https://docs.rs/google-partners2/2.0.4+20180925" license = "MIT" keywords = ["partners", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/partners2/README.md b/gen/partners2/README.md index 67f670530c..9920de6476 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.3+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20180925/google_partners2/Partners) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/Partners) ... * analytics - * [*list*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::AnalyticListCall) + * [*list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::AnalyticListCall) * client messages - * [*log*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::ClientMessageLogCall) -* [companies](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::Company) - * [*get*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::CompanyGetCall), [*leads create*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::CompanyLeadCreateCall) and [*list*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::CompanyListCall) -* [leads](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::Lead) - * [*list*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::LeadListCall) + * [*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) * offers - * [*history list*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::OfferHistoryListCall) and [*list*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::OfferListCall) + * [*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) * user events - * [*log*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::UserEventLogCall) + * [*log*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserEventLogCall) * user states - * [*list*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::UserStateListCall) -* [users](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::User) - * [*create company relation*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::UserCreateCompanyRelationCall), [*delete company relation*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::UserDeleteCompanyRelationCall), [*get*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::UserGetCall) and [*update profile*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::UserUpdateProfileCall) + * [*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) Other activities are ... -* [get partnersstatus](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::MethodGetPartnersstatuCall) -* [update companies](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::MethodUpdateCompanyCall) -* [update leads](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/api::MethodUpdateLeadCall) +* [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) @@ -42,17 +42,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/Partners)** +* **[Hub](https://docs.rs/google-partners2/2.0.4+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.3+20180925/google_partners2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/client::CallBuilder) -* **[Resources](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/client::Part)** + * **[Parts](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-partners2/2.0.3+20180925/google_partners2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -161,17 +161,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-partners2/2.0.3+20180925/google_partners2/client::Delegate) to the -[Method Builder](https://docs.rs/google-partners2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20180925/google_partners2/client::RequestValue) and -[decodable](https://docs.rs/google-partners2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-partners2/2.0.3+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.4+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.3+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.4+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.3+20180925/google_partners2/client::RequestValue) are moved +* [request values](https://docs.rs/google-partners2/2.0.4+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 62b0894f52..fe28a5d5cc 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/partners2/src/client.rs b/gen/partners2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/partners2/src/client.rs +++ b/gen/partners2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs index d89dc91ab2..9815ddd67d 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.3+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Partners* *v2* API can be found at the //! [official documentation site](https://developers.google.com/partners/). diff --git a/gen/people1-cli/Cargo.toml b/gen/people1-cli/Cargo.toml index 4f73845a64..4862a326a2 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/people1-cli/README.md b/gen/people1-cli/README.md index cb5214ac02..346d0aa1a7 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.3*. +This documentation was generated from the *People Service* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash people1 [options] diff --git a/gen/people1-cli/mkdocs.yml b/gen/people1-cli/mkdocs.yml index 059da8ea48..b01966c0f5 100644 --- a/gen/people1-cli/mkdocs.yml +++ b/gen/people1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: People Service v2.0.3+20210330 +site_name: People Service v2.0.4+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 fa78995423..2125047280 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.3+20210330") + .version("2.0.4+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 4e49bd47c9..42a2779ee6 100644 --- a/gen/people1/Cargo.toml +++ b/gen/people1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-people1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-people1/2.0.4+20210330" license = "MIT" keywords = ["people", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/people1/README.md b/gen/people1/README.md index 0560f4c70a..8138c5cbea 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.3+20210330*, where *20210330* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_people1/PeopleService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/2.0.4+20210330/google_people1/PeopleService) ... -* [contact groups](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroup) - * [*batch get*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupBatchGetCall), [*create*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupCreateCall), [*delete*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupDeleteCall), [*get*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupGetCall), [*list*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupListCall), [*members modify*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupMemberModifyCall) and [*update*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::ContactGroupUpdateCall) +* [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) * other contacts - * [*copy other contact to my contacts group*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::OtherContactCopyOtherContactToMyContactsGroupCall), [*list*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::OtherContactListCall) and [*search*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::OtherContactSearchCall) + * [*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) * people - * [*batch create contacts*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleBatchCreateContactCall), [*batch delete contacts*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleBatchDeleteContactCall), [*batch update contacts*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleBatchUpdateContactCall), [*connections list*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleConnectionListCall), [*create contact*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleCreateContactCall), [*delete contact*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleDeleteContactCall), [*delete contact photo*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleDeleteContactPhotoCall), [*get*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleGetCall), [*get batch get*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleGetBatchGetCall), [*list directory people*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleListDirectoryPeopleCall), [*search contacts*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleSearchContactCall), [*search directory people*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleSearchDirectoryPeopleCall), [*update contact*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleUpdateContactCall) and [*update contact photo*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/api::PeopleUpdateContactPhotoCall) + * [*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) @@ -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.3+20210330/google_people1/PeopleService)** +* **[Hub](https://docs.rs/google-people1/2.0.4+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.3+20210330/google_people1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-people1/2.0.3+20210330/google_people1/client::CallBuilder) -* **[Resources](https://docs.rs/google-people1/2.0.3+20210330/google_people1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-people1/2.0.3+20210330/google_people1/client::Part)** + * **[Parts](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-people1/2.0.3+20210330/google_people1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-people1/2.0.3+20210330/google_people1/client::Delegate) to the -[Method Builder](https://docs.rs/google-people1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_people1/client::RequestValue) and -[decodable](https://docs.rs/google-people1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-people1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_people1/client::RequestValue) are moved +* [request values](https://docs.rs/google-people1/2.0.4+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 d689215fd7..7b0fbc7400 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/people1/src/client.rs b/gen/people1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/people1/src/client.rs +++ b/gen/people1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/people1/src/lib.rs b/gen/people1/src/lib.rs index b5d9c74c63..28ee830ddc 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.3+20210330*, where *20210330* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *People Service* *v1* API can be found at the //! [official documentation site](https://developers.google.com/people/). diff --git a/gen/photoslibrary1-cli/Cargo.toml b/gen/photoslibrary1-cli/Cargo.toml index c5c48d5e60..83efad52ba 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/photoslibrary1-cli/README.md b/gen/photoslibrary1-cli/README.md index 053742740f..d75e337cc7 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.3*. +This documentation was generated from the *Photos Library* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash photoslibrary1 [options] diff --git a/gen/photoslibrary1-cli/mkdocs.yml b/gen/photoslibrary1-cli/mkdocs.yml index 0cc16c540e..2db5340520 100644 --- a/gen/photoslibrary1-cli/mkdocs.yml +++ b/gen/photoslibrary1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Photos Library v2.0.3+20210331 +site_name: Photos Library v2.0.4+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 523b1cbd67..2db4f39f96 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.3+20210331") + .version("2.0.4+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 c7951e45bb..d6e1650529 100644 --- a/gen/photoslibrary1/Cargo.toml +++ b/gen/photoslibrary1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-photoslibrary1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-photoslibrary1/2.0.4+20210331" license = "MIT" keywords = ["photoslibrary", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/photoslibrary1/README.md b/gen/photoslibrary1/README.md index 0e1b653f27..ab304454f5 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.3+20210331*, where *20210331* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_photoslibrary1/PhotosLibrary) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/PhotosLibrary) ... -* [albums](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::Album) - * [*add enrichment*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumAddEnrichmentCall), [*batch add media items*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumBatchAddMediaItemCall), [*batch remove media items*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumBatchRemoveMediaItemCall), [*create*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumCreateCall), [*get*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumGetCall), [*list*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumListCall), [*patch*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumPatchCall), [*share*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumShareCall) and [*unshare*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::AlbumUnshareCall) -* [media items](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItem) - * [*batch create*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItemBatchCreateCall), [*batch get*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItemBatchGetCall), [*get*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItemGetCall), [*list*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItemListCall), [*patch*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItemPatchCall) and [*search*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::MediaItemSearchCall) +* [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) * shared albums - * [*get*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::SharedAlbumGetCall), [*join*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::SharedAlbumJoinCall), [*leave*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::SharedAlbumLeaveCall) and [*list*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/api::SharedAlbumListCall) + * [*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) @@ -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.3+20210331/google_photoslibrary1/PhotosLibrary)** +* **[Hub](https://docs.rs/google-photoslibrary1/2.0.4+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.3+20210331/google_photoslibrary1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/client::CallBuilder) -* **[Resources](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/client::Part)** + * **[Parts](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-photoslibrary1/2.0.3+20210331/google_photoslibrary1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-photoslibrary1/2.0.3+20210331/google_photoslibrary1/client::Delegate) to the -[Method Builder](https://docs.rs/google-photoslibrary1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_photoslibrary1/client::RequestValue) and -[decodable](https://docs.rs/google-photoslibrary1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-photoslibrary1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_photoslibrary1/client::RequestValue) are moved +* [request values](https://docs.rs/google-photoslibrary1/2.0.4+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 75d9ec5aec..d7bf36ecd9 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/photoslibrary1/src/client.rs b/gen/photoslibrary1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/photoslibrary1/src/client.rs +++ b/gen/photoslibrary1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/photoslibrary1/src/lib.rs b/gen/photoslibrary1/src/lib.rs index 17751aaeb1..ebd606db09 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.3+20210331*, where *20210331* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Photos Library* *v1* API can be found at the //! [official documentation site](https://developers.google.com/photos/). diff --git a/gen/playablelocations3-cli/Cargo.toml b/gen/playablelocations3-cli/Cargo.toml index 705cbe8a87..fed221e446 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.3+20200707" +version = "2.0.4+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.3+20200707" +version = "2.0.4+20200707" diff --git a/gen/playablelocations3-cli/README.md b/gen/playablelocations3-cli/README.md index 3410f04b0a..f692ba0d11 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.3*. +This documentation was generated from the *Playable Locations* API at revision *20200707*. The CLI is at version *2.0.4*. ```bash playablelocations3 [options] diff --git a/gen/playablelocations3-cli/mkdocs.yml b/gen/playablelocations3-cli/mkdocs.yml index c973690b6b..b358476786 100644 --- a/gen/playablelocations3-cli/mkdocs.yml +++ b/gen/playablelocations3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Playable Locations v2.0.3+20200707 +site_name: Playable Locations v2.0.4+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 eeb6d451d3..f3c2e64bcd 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.3+20200707") + .version("2.0.4+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 6ff32a1119..ad92a30b2f 100644 --- a/gen/playablelocations3/Cargo.toml +++ b/gen/playablelocations3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playablelocations3" -version = "2.0.3+20200707" +version = "2.0.4+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.3+20200707" +documentation = "https://docs.rs/google-playablelocations3/2.0.4+20200707" license = "MIT" keywords = ["playablelocations", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/playablelocations3/README.md b/gen/playablelocations3/README.md index 99ebe942c9..b21d781233 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.3+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200707/google_playablelocations3/PlayableLocations) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/PlayableLocations) ... -* [log impressions](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/api::MethodLogImpressionCall) -* [log player reports](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/api::MethodLogPlayerReportCall) -* [sample playable locations](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/api::MethodSamplePlayableLocationCall) +* [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) @@ -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.3+20200707/google_playablelocations3/PlayableLocations)** +* **[Hub](https://docs.rs/google-playablelocations3/2.0.4+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.3+20200707/google_playablelocations3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/client::CallBuilder) -* **[Resources](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/client::Part)** + * **[Parts](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playablelocations3/2.0.3+20200707/google_playablelocations3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playablelocations3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-playablelocations3/2.0.3+20200707/google_playablelocations3/client::Delegate) to the -[Method Builder](https://docs.rs/google-playablelocations3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200707/google_playablelocations3/client::RequestValue) and -[decodable](https://docs.rs/google-playablelocations3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playablelocations3/2.0.3+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.4+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.3+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.4+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.3+20200707/google_playablelocations3/client::RequestValue) are moved +* [request values](https://docs.rs/google-playablelocations3/2.0.4+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 fd400b0013..e73da458c5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/playablelocations3/src/client.rs b/gen/playablelocations3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/playablelocations3/src/client.rs +++ b/gen/playablelocations3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/playablelocations3/src/lib.rs b/gen/playablelocations3/src/lib.rs index 987c58a3ea..3425173f05 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.3+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Playable Locations* *v3* API can be found at the //! [official documentation site](https://developers.google.com/maps/contact-sales/). diff --git a/gen/playcustomapp1-cli/Cargo.toml b/gen/playcustomapp1-cli/Cargo.toml index cb1517c61e..1a97ebdfaa 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/playcustomapp1-cli/README.md b/gen/playcustomapp1-cli/README.md index d88a952297..c2eb0efb62 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.3*. +This documentation was generated from the *playcustomapp* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash playcustomapp1 [options] diff --git a/gen/playcustomapp1-cli/mkdocs.yml b/gen/playcustomapp1-cli/mkdocs.yml index 0c6f59a055..661bf67edd 100644 --- a/gen/playcustomapp1-cli/mkdocs.yml +++ b/gen/playcustomapp1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: playcustomapp v2.0.3+20210331 +site_name: playcustomapp v2.0.4+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 23b4f8e505..6821e53097 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.3+20210331") + .version("2.0.4+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 24405a84fe..9adff60456 100644 --- a/gen/playcustomapp1/Cargo.toml +++ b/gen/playcustomapp1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playcustomapp1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-playcustomapp1/2.0.4+20210331" license = "MIT" keywords = ["playcustomapp", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/playcustomapp1/README.md b/gen/playcustomapp1/README.md index a319ea4c5c..e8fe42b4be 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.3+20210331*, where *20210331* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_playcustomapp1/Playcustomapp) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/Playcustomapp) ... * accounts - * [*custom apps create*](https://docs.rs/google-playcustomapp1/2.0.3+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) + * [*custom apps create*](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) Upload supported by ... -* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/2.0.3+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) +* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/2.0.4+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.3+20210331/google_playcustomapp1/Playcustomapp)** +* **[Hub](https://docs.rs/google-playcustomapp1/2.0.4+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.3+20210331/google_playcustomapp1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/2.0.3+20210331/google_playcustomapp1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playcustomapp1/2.0.3+20210331/google_playcustomapp1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playcustomapp1/2.0.3+20210331/google_playcustomapp1/client::Part)** + * **[Parts](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playcustomapp1/2.0.3+20210331/google_playcustomapp1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-playcustomapp1/2.0.3+20210331/google_playcustomapp1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playcustomapp1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_playcustomapp1/client::RequestValue) and -[decodable](https://docs.rs/google-playcustomapp1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playcustomapp1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_playcustomapp1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playcustomapp1/2.0.4+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 df6d5eb7c1..1bd922df3b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/playcustomapp1/src/client.rs b/gen/playcustomapp1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/playcustomapp1/src/client.rs +++ b/gen/playcustomapp1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/playcustomapp1/src/lib.rs b/gen/playcustomapp1/src/lib.rs index ab8045324d..16972b1835 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.3+20210331*, where *20210331* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/playmoviespartner1-cli/Cargo.toml b/gen/playmoviespartner1-cli/Cargo.toml index 3ff386758b..b4f8ad6375 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.3+20170919" +version = "2.0.4+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.3+20170919" +version = "2.0.4+20170919" diff --git a/gen/playmoviespartner1-cli/README.md b/gen/playmoviespartner1-cli/README.md index 02ae12adb2..034fc41213 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.3*. +This documentation was generated from the *Play Movies* API at revision *20170919*. The CLI is at version *2.0.4*. ```bash playmoviespartner1 [options] diff --git a/gen/playmoviespartner1-cli/mkdocs.yml b/gen/playmoviespartner1-cli/mkdocs.yml index c64330961e..9eedcf9241 100644 --- a/gen/playmoviespartner1-cli/mkdocs.yml +++ b/gen/playmoviespartner1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Play Movies v2.0.3+20170919 +site_name: Play Movies v2.0.4+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 5525bce892..b72bbc4db2 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.3+20170919") + .version("2.0.4+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 f8c4a8a1d6..d86745a217 100644 --- a/gen/playmoviespartner1/Cargo.toml +++ b/gen/playmoviespartner1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playmoviespartner1" -version = "2.0.3+20170919" +version = "2.0.4+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.3+20170919" +documentation = "https://docs.rs/google-playmoviespartner1/2.0.4+20170919" license = "MIT" keywords = ["playmoviespartner", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/playmoviespartner1/README.md b/gen/playmoviespartner1/README.md index 4619872321..e10c927313 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.3+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20170919/google_playmoviespartner1/PlayMovies) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/PlayMovies) ... * accounts - * [*avails get*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/api::AccountAvailGetCall), [*avails list*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/api::AccountAvailListCall), [*orders get*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/api::AccountOrderGetCall), [*orders list*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/api::AccountOrderListCall), [*store infos country get*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/api::AccountStoreInfoCountryGetCall) and [*store infos list*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/api::AccountStoreInfoListCall) + * [*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) @@ -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.3+20170919/google_playmoviespartner1/PlayMovies)** +* **[Hub](https://docs.rs/google-playmoviespartner1/2.0.4+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.3+20170919/google_playmoviespartner1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/client::Part)** + * **[Parts](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-playmoviespartner1/2.0.3+20170919/google_playmoviespartner1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playmoviespartner1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20170919/google_playmoviespartner1/client::RequestValue) and -[decodable](https://docs.rs/google-playmoviespartner1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/2.0.3+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.4+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.3+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.4+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.3+20170919/google_playmoviespartner1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playmoviespartner1/2.0.4+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 14cce51cc9..64582b92a2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/playmoviespartner1/src/client.rs b/gen/playmoviespartner1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/playmoviespartner1/src/client.rs +++ b/gen/playmoviespartner1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/playmoviespartner1/src/lib.rs b/gen/playmoviespartner1/src/lib.rs index 04d712b651..705eda6e91 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.3+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Play Movies* *v1* API can be found at the //! [official documentation site](https://developers.google.com/playmoviespartner/). diff --git a/gen/plus1-cli/Cargo.toml b/gen/plus1-cli/Cargo.toml index 60fa151165..28831a29cc 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.3+20190616" +version = "2.0.4+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.3+20190616" +version = "2.0.4+20190616" diff --git a/gen/plus1-cli/README.md b/gen/plus1-cli/README.md index ded440eb4d..527b2c79ab 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.3*. +This documentation was generated from the *plus* API at revision *20190616*. The CLI is at version *2.0.4*. ```bash plus1 [options] diff --git a/gen/plus1-cli/mkdocs.yml b/gen/plus1-cli/mkdocs.yml index 4b1bcce2af..31eb11b159 100644 --- a/gen/plus1-cli/mkdocs.yml +++ b/gen/plus1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plus v2.0.3+20190616 +site_name: plus v2.0.4+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 40a5a2385f..efafe68faf 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.3+20190616") + .version("2.0.4+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 d4bc3b411d..dc3bee55b5 100644 --- a/gen/plus1/Cargo.toml +++ b/gen/plus1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plus1" -version = "2.0.3+20190616" +version = "2.0.4+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.3+20190616" +documentation = "https://docs.rs/google-plus1/2.0.4+20190616" license = "MIT" keywords = ["plus", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/plus1/README.md b/gen/plus1/README.md index 8a4587f2c1..1cea8f8091 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.3+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190616/google_plus1/Plus) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/Plus) ... -* [activities](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::Activity) - * [*get*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::ActivityGetCall), [*list*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::ActivityListCall) and [*search*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::ActivitySearchCall) -* [comments](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::Comment) - * [*get*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::CommentGetCall) and [*list*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::CommentListCall) +* [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) * people - * [*get*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::PeopleGetCall), [*list*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::PeopleListCall), [*list by activity*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::PeopleListByActivityCall) and [*search*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/api::PeopleSearchCall) + * [*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) @@ -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.3+20190616/google_plus1/Plus)** +* **[Hub](https://docs.rs/google-plus1/2.0.4+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.3+20190616/google_plus1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/client::CallBuilder) -* **[Resources](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/client::Part)** + * **[Parts](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plus1/2.0.3+20190616/google_plus1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-plus1/2.0.3+20190616/google_plus1/client::Delegate) to the -[Method Builder](https://docs.rs/google-plus1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190616/google_plus1/client::RequestValue) and -[decodable](https://docs.rs/google-plus1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-plus1/2.0.3+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.4+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.3+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.4+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.3+20190616/google_plus1/client::RequestValue) are moved +* [request values](https://docs.rs/google-plus1/2.0.4+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 c015e57ff2..f629fceccc 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/plus1/src/client.rs b/gen/plus1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/plus1/src/client.rs +++ b/gen/plus1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/plus1/src/lib.rs b/gen/plus1/src/lib.rs index 8217ade13a..0bf927303d 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.3+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *plus* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/api/). diff --git a/gen/plusdomains1-cli/Cargo.toml b/gen/plusdomains1-cli/Cargo.toml index 81722cae41..b1f965e838 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.3+20190616" +version = "2.0.4+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.3+20190616" +version = "2.0.4+20190616" diff --git a/gen/plusdomains1-cli/README.md b/gen/plusdomains1-cli/README.md index a81904dd85..3cc10a03e0 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.3*. +This documentation was generated from the *plusDomains* API at revision *20190616*. The CLI is at version *2.0.4*. ```bash plusdomains1 [options] diff --git a/gen/plusdomains1-cli/mkdocs.yml b/gen/plusdomains1-cli/mkdocs.yml index b45cea1539..3457160576 100644 --- a/gen/plusdomains1-cli/mkdocs.yml +++ b/gen/plusdomains1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plusDomains v2.0.3+20190616 +site_name: plusDomains v2.0.4+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 8ae76fb870..23889f795a 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.3+20190616") + .version("2.0.4+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 4f260d4afa..f7dfa92613 100644 --- a/gen/plusdomains1/Cargo.toml +++ b/gen/plusdomains1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plusdomains1" -version = "2.0.3+20190616" +version = "2.0.4+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.3+20190616" +documentation = "https://docs.rs/google-plusdomains1/2.0.4+20190616" license = "MIT" keywords = ["plusDomains", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/plusdomains1/README.md b/gen/plusdomains1/README.md index ed20a89ec2..363372f9f4 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.3+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190616/google_plusdomains1/PlusDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/PlusDomains) ... -* [activities](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::Activity) - * [*get*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::ActivityGetCall) and [*list*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::ActivityListCall) -* [audiences](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::Audience) - * [*list*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::AudienceListCall) -* [circles](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::Circle) - * [*list*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::CircleListCall) -* [comments](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::Comment) - * [*get*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::CommentGetCall) and [*list*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::CommentListCall) -* [media](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::Media) - * [*insert*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::MediaInsertCall) +* [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) * people - * [*get*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::PeopleGetCall), [*list*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::PeopleListCall) and [*list by activity*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::PeopleListByActivityCall) + * [*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) Upload supported by ... -* [*insert media*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/api::MediaInsertCall) +* [*insert media*](https://docs.rs/google-plusdomains1/2.0.4+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.3+20190616/google_plusdomains1/PlusDomains)** +* **[Hub](https://docs.rs/google-plusdomains1/2.0.4+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.3+20190616/google_plusdomains1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/client::CallBuilder) -* **[Resources](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/client::Part)** + * **[Parts](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plusdomains1/2.0.3+20190616/google_plusdomains1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-plusdomains1/2.0.3+20190616/google_plusdomains1/client::Delegate) to the -[Method Builder](https://docs.rs/google-plusdomains1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190616/google_plusdomains1/client::RequestValue) and -[decodable](https://docs.rs/google-plusdomains1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/2.0.3+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.4+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.3+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.4+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.3+20190616/google_plusdomains1/client::RequestValue) are moved +* [request values](https://docs.rs/google-plusdomains1/2.0.4+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 4ef7b53496..9c8f35f627 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/plusdomains1/src/client.rs b/gen/plusdomains1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/plusdomains1/src/client.rs +++ b/gen/plusdomains1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/plusdomains1/src/lib.rs b/gen/plusdomains1/src/lib.rs index 94b09597e6..7e52a2f41e 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.3+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *plusDomains* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/domains/). diff --git a/gen/policysimulator1-cli/Cargo.toml b/gen/policysimulator1-cli/Cargo.toml index 23b552d820..ec43191b97 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/policysimulator1-cli/README.md b/gen/policysimulator1-cli/README.md index 21d3524a2e..6c67bcfb47 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.3*. +This documentation was generated from the *Policy Simulator* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash policysimulator1 [options] diff --git a/gen/policysimulator1-cli/mkdocs.yml b/gen/policysimulator1-cli/mkdocs.yml index 48d142b137..1737cd9fa8 100644 --- a/gen/policysimulator1-cli/mkdocs.yml +++ b/gen/policysimulator1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Simulator v2.0.3+20210330 +site_name: Policy Simulator v2.0.4+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 6e57d3a2ac..5d22835843 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.3+20210330") + .version("2.0.4+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 b492b7322c..31850539d7 100644 --- a/gen/policysimulator1/Cargo.toml +++ b/gen/policysimulator1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policysimulator1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-policysimulator1/2.0.4+20210330" license = "MIT" keywords = ["policysimulator", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/policysimulator1/README.md b/gen/policysimulator1/README.md index e1e6e5c8a9..4ae27ed6fb 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.3+20210330*, where *20210330* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_policysimulator1/PolicySimulator) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/PolicySimulator) ... * folders - * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::FolderLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::FolderLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::FolderLocationReplayResultListCall) + * [*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) * operations - * [*get*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::OperationGetCall) and [*list*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::OperationListCall) + * [*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) * organizations - * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::OrganizationLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::OrganizationLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::OrganizationLocationReplayResultListCall) + * [*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) * projects - * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::ProjectLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::ProjectLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/api::ProjectLocationReplayResultListCall) + * [*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) @@ -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.3+20210330/google_policysimulator1/PolicySimulator)** +* **[Hub](https://docs.rs/google-policysimulator1/2.0.4+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.3+20210330/google_policysimulator1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/client::Part)** + * **[Parts](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policysimulator1/2.0.3+20210330/google_policysimulator1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policysimulator1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-policysimulator1/2.0.3+20210330/google_policysimulator1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policysimulator1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_policysimulator1/client::RequestValue) and -[decodable](https://docs.rs/google-policysimulator1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policysimulator1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_policysimulator1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policysimulator1/2.0.4+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 b55bc2c77f..4c0b1d916a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/policysimulator1/src/client.rs b/gen/policysimulator1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/policysimulator1/src/client.rs +++ b/gen/policysimulator1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/policysimulator1/src/lib.rs b/gen/policysimulator1/src/lib.rs index 570ab11d10..c1e81701f3 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.3+20210330*, where *20210330* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Policy Simulator* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/docs/simulating-access). diff --git a/gen/policytroubleshooter1-cli/Cargo.toml b/gen/policytroubleshooter1-cli/Cargo.toml index 3ca4f58c18..09a5b3156c 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/policytroubleshooter1-cli/README.md b/gen/policytroubleshooter1-cli/README.md index 8b095ccca3..fc6a62ad06 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.3*. +This documentation was generated from the *Policy Troubleshooter* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash policytroubleshooter1 [options] diff --git a/gen/policytroubleshooter1-cli/mkdocs.yml b/gen/policytroubleshooter1-cli/mkdocs.yml index b2f55837ee..1d7cb4b2bf 100644 --- a/gen/policytroubleshooter1-cli/mkdocs.yml +++ b/gen/policytroubleshooter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Troubleshooter v2.0.3+20210329 +site_name: Policy Troubleshooter v2.0.4+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 c3314b7cdb..16a5d487f1 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.3+20210329") + .version("2.0.4+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 c7d4ea0bf6..486233db6a 100644 --- a/gen/policytroubleshooter1/Cargo.toml +++ b/gen/policytroubleshooter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policytroubleshooter1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-policytroubleshooter1/2.0.4+20210329" license = "MIT" keywords = ["policytroubleshooter", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/policytroubleshooter1/README.md b/gen/policytroubleshooter1/README.md index 272366acdd..44619eef58 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.3+20210329*, where *20210329* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_policytroubleshooter1/PolicyTroubleshooter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/PolicyTroubleshooter) ... * iam - * [*troubleshoot*](https://docs.rs/google-policytroubleshooter1/2.0.3+20210329/google_policytroubleshooter1/api::IamTroubleshootCall) + * [*troubleshoot*](https://docs.rs/google-policytroubleshooter1/2.0.4+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.3+20210329/google_policytroubleshooter1/PolicyTroubleshooter)** +* **[Hub](https://docs.rs/google-policytroubleshooter1/2.0.4+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.3+20210329/google_policytroubleshooter1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policytroubleshooter1/2.0.3+20210329/google_policytroubleshooter1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policytroubleshooter1/2.0.3+20210329/google_policytroubleshooter1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policytroubleshooter1/2.0.3+20210329/google_policytroubleshooter1/client::Part)** + * **[Parts](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policytroubleshooter1/2.0.3+20210329/google_policytroubleshooter1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policytroubleshooter1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-policytroubleshooter1/2.0.3+20210329/google_policytroubleshooter1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policytroubleshooter1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_policytroubleshooter1/client::RequestValue) and -[decodable](https://docs.rs/google-policytroubleshooter1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policytroubleshooter1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_policytroubleshooter1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policytroubleshooter1/2.0.4+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 32cde21fce..fa9b347317 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/policytroubleshooter1/src/client.rs b/gen/policytroubleshooter1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/policytroubleshooter1/src/client.rs +++ b/gen/policytroubleshooter1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/policytroubleshooter1/src/lib.rs b/gen/policytroubleshooter1/src/lib.rs index 63c18351ea..658b5efbf6 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.3+20210329*, where *20210329* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Policy Troubleshooter* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). diff --git a/gen/prediction1d6-cli/Cargo.toml b/gen/prediction1d6-cli/Cargo.toml index d8384c6e62..5d3746620f 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.3+20160511" +version = "2.0.4+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.3+20160511" +version = "2.0.4+20160511" diff --git a/gen/prediction1d6-cli/README.md b/gen/prediction1d6-cli/README.md index f589ff4897..22b8502326 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.3*. +This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *2.0.4*. ```bash prediction1d6 [options] diff --git a/gen/prediction1d6-cli/mkdocs.yml b/gen/prediction1d6-cli/mkdocs.yml index be8c2eaeb2..c6dc8973f4 100644 --- a/gen/prediction1d6-cli/mkdocs.yml +++ b/gen/prediction1d6-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: prediction v2.0.3+20160511 +site_name: prediction v2.0.4+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 d4cf36129e..a24b2d3927 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.3+20160511") + .version("2.0.4+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 529219d92c..05ed2550c5 100644 --- a/gen/prediction1d6/Cargo.toml +++ b/gen/prediction1d6/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-prediction1d6" -version = "2.0.3+20160511" +version = "2.0.4+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.3+20160511" +documentation = "https://docs.rs/google-prediction1d6/2.0.4+20160511" license = "MIT" keywords = ["prediction", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/prediction1d6/README.md b/gen/prediction1d6/README.md index 5b02592f39..c5ee8c594c 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.3+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.3*. +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*. 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.3+20160511/google_prediction1d6/Prediction) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/Prediction) ... * hostedmodels - * [*predict*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::HostedmodelPredictCall) + * [*predict*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::HostedmodelPredictCall) * trainedmodels - * [*analyze*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelAnalyzeCall), [*delete*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelDeleteCall), [*get*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelGetCall), [*insert*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelInsertCall), [*list*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelListCall), [*predict*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelPredictCall) and [*update*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/api::TrainedmodelUpdateCall) + * [*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) @@ -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.3+20160511/google_prediction1d6/Prediction)** +* **[Hub](https://docs.rs/google-prediction1d6/2.0.4+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.3+20160511/google_prediction1d6/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/client::CallBuilder) -* **[Resources](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/client::Part)** + * **[Parts](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prediction1d6/2.0.3+20160511/google_prediction1d6/client::CallBuilder)** +* **[Activities](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-prediction1d6/2.0.3+20160511/google_prediction1d6/client::Delegate) to the -[Method Builder](https://docs.rs/google-prediction1d6/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160511/google_prediction1d6/client::RequestValue) and -[decodable](https://docs.rs/google-prediction1d6/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/2.0.3+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.4+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.3+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.4+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.3+20160511/google_prediction1d6/client::RequestValue) are moved +* [request values](https://docs.rs/google-prediction1d6/2.0.4+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 6034595dc5..c2ab8f3d70 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/prediction1d6/src/client.rs b/gen/prediction1d6/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/prediction1d6/src/client.rs +++ b/gen/prediction1d6/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/prediction1d6/src/lib.rs b/gen/prediction1d6/src/lib.rs index 490b5e6b2d..03785eed28 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.3+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.3*. +//! 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*. //! //! Everything else about the *prediction* *v1d6* API can be found at the //! [official documentation site](https://developers.google.com/prediction/docs/developer-guide). diff --git a/gen/privateca1_beta1-cli/Cargo.toml b/gen/privateca1_beta1-cli/Cargo.toml index 3ed4e4f536..f82244e09a 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/privateca1_beta1-cli/README.md b/gen/privateca1_beta1-cli/README.md index b063e9345f..6c1b9ec6fb 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.3*. +This documentation was generated from the *Certificate Authority Service* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash privateca1-beta1 [options] diff --git a/gen/privateca1_beta1-cli/mkdocs.yml b/gen/privateca1_beta1-cli/mkdocs.yml index 9c3339b8c2..d553da1b8c 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.3+20210322 +site_name: Certificate Authority Service v2.0.4+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 48ff16d2d7..9d69e39739 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.3+20210322") + .version("2.0.4+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 55c1774cb2..d96a93f6e6 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.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-privateca1_beta1/2.0.4+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 ec0c5435ed..bfa0f4ef03 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.3+20210322*, where *20210322* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_privateca1_beta1/CertificateAuthorityService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/CertificateAuthorityService) ... * projects - * [*locations certificate authorities activate*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityActivateCall), [*locations certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetCall), [*locations certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListListCall), [*locations certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListPatchCall), [*locations certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations certificate authorities certificates create*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateCreateCall), [*locations certificate authorities certificates get*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateGetCall), [*locations certificate authorities certificates list*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateListCall), [*locations certificate authorities certificates patch*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificatePatchCall), [*locations certificate authorities certificates revoke*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevokeCall), [*locations certificate authorities create*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCreateCall), [*locations certificate authorities disable*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityDisableCall), [*locations certificate authorities enable*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityEnableCall), [*locations certificate authorities fetch*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityFetchCall), [*locations certificate authorities get*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetCall), [*locations certificate authorities get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetIamPolicyCall), [*locations certificate authorities list*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityListCall), [*locations certificate authorities patch*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityPatchCall), [*locations certificate authorities restore*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityRestoreCall), [*locations certificate authorities schedule delete*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityScheduleDeleteCall), [*locations certificate authorities set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthoritySetIamPolicyCall), [*locations certificate authorities test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationOperationListCall), [*locations reusable configs get*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigGetCall), [*locations reusable configs get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigGetIamPolicyCall), [*locations reusable configs list*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigListCall), [*locations reusable configs set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigSetIamPolicyCall) and [*locations reusable configs test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigTestIamPermissionCall) + * [*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) @@ -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.3+20210322/google_privateca1_beta1/CertificateAuthorityService)** +* **[Hub](https://docs.rs/google-privateca1_beta1/2.0.4+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.3+20210322/google_privateca1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-privateca1_beta1/2.0.4+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. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-privateca1_beta1/2.0.3+20210322/google_privateca1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-privateca1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_privateca1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-privateca1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-privateca1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_privateca1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-privateca1_beta1/2.0.4+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 1da7fa5dd4..b8f7affd21 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/privateca1_beta1/src/client.rs b/gen/privateca1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/privateca1_beta1/src/client.rs +++ b/gen/privateca1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/privateca1_beta1/src/lib.rs b/gen/privateca1_beta1/src/lib.rs index aad000afd1..eb507c6a7f 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.3+20210322*, where *20210322* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Certificate Authority Service* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/). diff --git a/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml b/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml index 07d9ea91bf..fb7ccb6044 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/prod_tt_sasportal1_alpha1-cli/README.md b/gen/prod_tt_sasportal1_alpha1-cli/README.md index 53ab6e5d4a..ff802c47d0 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.3*. +This documentation was generated from the *SAS Portal Testing* API at revision *20210330*. The CLI is at version *2.0.4*. ```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 9e3e76edcf..88c104f7dd 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.3+20210330 +site_name: SAS Portal Testing v2.0.4+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 cb39db86d6..d45e55109d 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.3+20210330") + .version("2.0.4+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 f1822c0d48..82e438e24a 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.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+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 3d993f58c0..0869283d4d 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.3+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.3*. +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*. 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.3+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.4+20210330/google_prod_tt_sasportal1_alpha1/SASPortalTesting) ... * customers - * [*deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerPatchCall) + * [*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 - * [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentGetCall) + * [*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) * installer - * [*generate secret*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::InstallerValidateCall) + * [*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) * nodes - * [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodePatchCall) + * [*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) * policies - * [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/api::PolicyTestCall) + * [*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) @@ -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.3+20210330/google_prod_tt_sasportal1_alpha1/SASPortalTesting)** +* **[Hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+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.3+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.3+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/client::Resource)** + * 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)** * 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.3+20210330/google_prod_tt_sasportal1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+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.3+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+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. @@ -161,17 +161,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.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-prod_tt_sasportal1_alpha1/2.0.3+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_prod_tt_sasportal1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_prod_tt_sasportal1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+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 e894e53ac4..950bc8a7b5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/prod_tt_sasportal1_alpha1/src/client.rs b/gen/prod_tt_sasportal1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/prod_tt_sasportal1_alpha1/src/client.rs +++ b/gen/prod_tt_sasportal1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/prod_tt_sasportal1_alpha1/src/lib.rs b/gen/prod_tt_sasportal1_alpha1/src/lib.rs index 74259b295a..0469d94d72 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.3+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.3*. +//! 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*. //! //! 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/). diff --git a/gen/proximitybeacon1_beta1-cli/Cargo.toml b/gen/proximitybeacon1_beta1-cli/Cargo.toml index 5e37f2183c..3ed47dab19 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.3+20200127" +version = "2.0.4+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.3+20200127" +version = "2.0.4+20200127" diff --git a/gen/proximitybeacon1_beta1-cli/README.md b/gen/proximitybeacon1_beta1-cli/README.md index 138ffdbb1e..db26e4bd6e 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.3*. +This documentation was generated from the *proximitybeacon* API at revision *20200127*. The CLI is at version *2.0.4*. ```bash proximitybeacon1-beta1 [options] diff --git a/gen/proximitybeacon1_beta1-cli/mkdocs.yml b/gen/proximitybeacon1_beta1-cli/mkdocs.yml index 22e11474dd..d9177eb7e5 100644 --- a/gen/proximitybeacon1_beta1-cli/mkdocs.yml +++ b/gen/proximitybeacon1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: proximitybeacon v2.0.3+20200127 +site_name: proximitybeacon v2.0.4+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 d756e6f45b..e531f299bd 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.3+20200127") + .version("2.0.4+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 9d95853c1a..bfc0332e0a 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.3+20200127" +version = "2.0.4+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.3+20200127" +documentation = "https://docs.rs/google-proximitybeacon1_beta1/2.0.4+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 72a224c29a..049a364665 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.3+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200127/google_proximitybeacon1_beta1/Proximitybeacon) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/Proximitybeacon) ... * beaconinfo - * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconinfoGetforobservedCall) -* [beacons](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::Beacon) - * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconActivateCall), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentBatchDeleteCall), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentCreateCall), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentDeleteCall), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentListCall), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconDeactivateCall), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconDecommissionCall), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconDeleteCall), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconDiagnosticListCall), [*get*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconGetCall), [*list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconListCall), [*register*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconRegisterCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::BeaconUpdateCall) -* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::Namespace) - * [*list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::NamespaceListCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::NamespaceUpdateCall) + * [*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) Other activities are ... -* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/api::MethodGetEidparamCall) +* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+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.3+20200127/google_proximitybeacon1_beta1/Proximitybeacon)** +* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+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.3+20200127/google_proximitybeacon1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+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. @@ -149,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-proximitybeacon1_beta1/2.0.3+20200127/google_proximitybeacon1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200127/google_proximitybeacon1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.3+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.4+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.3+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.4+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.3+20200127/google_proximitybeacon1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+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 067c3616ad..28f6147905 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/proximitybeacon1_beta1/src/client.rs b/gen/proximitybeacon1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/proximitybeacon1_beta1/src/client.rs +++ b/gen/proximitybeacon1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs index ffaa9f7e49..ef1f5586e9 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.3+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *proximitybeacon* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/beacons/proximity/). diff --git a/gen/pubsub1-cli/Cargo.toml b/gen/pubsub1-cli/Cargo.toml index 48d8021d4c..15649c6e76 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/pubsub1-cli/README.md b/gen/pubsub1-cli/README.md index eb1bd3bd55..c2ffc61b15 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.3*. +This documentation was generated from the *Pubsub* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash pubsub1 [options] diff --git a/gen/pubsub1-cli/mkdocs.yml b/gen/pubsub1-cli/mkdocs.yml index 0b6be9d963..7e003d81d1 100644 --- a/gen/pubsub1-cli/mkdocs.yml +++ b/gen/pubsub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v2.0.3+20210322 +site_name: Pubsub v2.0.4+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 21cf6904d9..904eac0b1b 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.3+20210322") + .version("2.0.4+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 186e1c57e2..8163a848b0 100644 --- a/gen/pubsub1/Cargo.toml +++ b/gen/pubsub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-pubsub1/2.0.4+20210322" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pubsub1/README.md b/gen/pubsub1/README.md index e19023796c..d774517c36 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.3+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_pubsub1/Pubsub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/Pubsub) ... * projects - * [*schemas create*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaCreateCall), [*schemas delete*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaDeleteCall), [*schemas get*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaGetCall), [*schemas get iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaGetIamPolicyCall), [*schemas list*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaListCall), [*schemas set iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaSetIamPolicyCall), [*schemas test iam permissions*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaTestIamPermissionCall), [*schemas validate*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaValidateCall), [*schemas validate message*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSchemaValidateMessageCall), [*snapshots create*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotCreateCall), [*snapshots delete*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotDeleteCall), [*snapshots get*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotGetCall), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotGetIamPolicyCall), [*snapshots list*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotListCall), [*snapshots patch*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotPatchCall), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotSetIamPolicyCall), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSnapshotTestIamPermissionCall), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionDeleteCall), [*subscriptions detach*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionDetachCall), [*subscriptions get*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions patch*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionPatchCall), [*subscriptions pull*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionPullCall), [*subscriptions seek*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionSeekCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicListCall), [*topics patch*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicPatchCall), [*topics publish*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicSetIamPolicyCall), [*topics snapshots list*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicSnapshotListCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/api::ProjectTopicTestIamPermissionCall) + * [*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) @@ -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.3+20210322/google_pubsub1/Pubsub)** +* **[Hub](https://docs.rs/google-pubsub1/2.0.4+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.3+20210322/google_pubsub1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/client::Part)** + * **[Parts](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1/2.0.3+20210322/google_pubsub1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-pubsub1/2.0.3+20210322/google_pubsub1/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsub1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_pubsub1/client::RequestValue) and -[decodable](https://docs.rs/google-pubsub1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_pubsub1/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsub1/2.0.4+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 8d8b559a2c..825093d86f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/pubsub1/src/client.rs b/gen/pubsub1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/pubsub1/src/client.rs +++ b/gen/pubsub1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/pubsub1/src/lib.rs b/gen/pubsub1/src/lib.rs index 5113682a1b..66cc5cbbe0 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.3+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Pubsub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). diff --git a/gen/pubsub1_beta2-cli/Cargo.toml b/gen/pubsub1_beta2-cli/Cargo.toml index 78f6bb7000..ad81b7cfdd 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/pubsub1_beta2-cli/README.md b/gen/pubsub1_beta2-cli/README.md index 62177341f9..a7f33c0eec 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.3*. +This documentation was generated from the *Pubsub* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash pubsub1-beta2 [options] diff --git a/gen/pubsub1_beta2-cli/mkdocs.yml b/gen/pubsub1_beta2-cli/mkdocs.yml index 1dc6ed7b41..ee5097e7e0 100644 --- a/gen/pubsub1_beta2-cli/mkdocs.yml +++ b/gen/pubsub1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v2.0.3+20210322 +site_name: Pubsub v2.0.4+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 6a0d1f3dde..c3d3e57dc6 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.3+20210322") + .version("2.0.4+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 00f6d2955b..f980ae6122 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.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-pubsub1_beta2/2.0.4+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 aaa25072ad..25cc9247ed 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.3+20210322*, where *20210322* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_pubsub1_beta2/Pubsub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/Pubsub) ... * projects - * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionDeleteCall), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionPullCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicListCall), [*topics publish*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicSetIamPolicyCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/api::ProjectTopicTestIamPermissionCall) + * [*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) @@ -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.3+20210322/google_pubsub1_beta2/Pubsub)** +* **[Hub](https://docs.rs/google-pubsub1_beta2/2.0.4+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.3+20210322/google_pubsub1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsub1_beta2/2.0.4+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. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-pubsub1_beta2/2.0.3+20210322/google_pubsub1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsub1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_pubsub1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-pubsub1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/2.0.3+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.4+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.3+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.4+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.3+20210322/google_pubsub1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsub1_beta2/2.0.4+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 859c4474e9..59bba537f7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/pubsub1_beta2/src/client.rs b/gen/pubsub1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/pubsub1_beta2/src/client.rs +++ b/gen/pubsub1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/pubsub1_beta2/src/lib.rs b/gen/pubsub1_beta2/src/lib.rs index 8173a2c00e..204ad98ecf 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.3+20210322*, where *20210322* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Pubsub* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). diff --git a/gen/pubsublite1-cli/Cargo.toml b/gen/pubsublite1-cli/Cargo.toml index e383b23520..82bbe19ea9 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/pubsublite1-cli/README.md b/gen/pubsublite1-cli/README.md index 8e79f00ce2..7d92d44288 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.3*. +This documentation was generated from the *PubsubLite* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash pubsublite1 [options] diff --git a/gen/pubsublite1-cli/mkdocs.yml b/gen/pubsublite1-cli/mkdocs.yml index ea8dfba613..8b769e8e88 100644 --- a/gen/pubsublite1-cli/mkdocs.yml +++ b/gen/pubsublite1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: PubsubLite v2.0.3+20210322 +site_name: PubsubLite v2.0.4+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 1988a4d809..f8bed25faa 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.3+20210322") + .version("2.0.4+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 31f5d0ecbe..52ede67d15 100644 --- a/gen/pubsublite1/Cargo.toml +++ b/gen/pubsublite1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsublite1" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-pubsublite1/2.0.4+20210322" license = "MIT" keywords = ["pubsublite", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pubsublite1/README.md b/gen/pubsublite1/README.md index 74d0a8caef..3dcbf8dab2 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.3+20210322*, where *20210322* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_pubsublite1/PubsubLite) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/PubsubLite) ... * admin - * [*projects locations subscriptions create*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionCreateCall), [*projects locations subscriptions delete*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionDeleteCall), [*projects locations subscriptions get*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionGetCall), [*projects locations subscriptions list*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionListCall), [*projects locations subscriptions patch*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionPatchCall), [*projects locations topics create*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicCreateCall), [*projects locations topics delete*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicDeleteCall), [*projects locations topics get*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicGetCall), [*projects locations topics get partitions*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicGetPartitionCall), [*projects locations topics list*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicListCall), [*projects locations topics patch*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicPatchCall) and [*projects locations topics subscriptions list*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::AdminProjectLocationTopicSubscriptionListCall) -* [cursor](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::Cursor) - * [*projects locations subscriptions cursors list*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::CursorProjectLocationSubscriptionCursorListCall) + * [*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) * topic stats - * [*projects locations topics compute head cursor*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::TopicStatProjectLocationTopicComputeHeadCursorCall) and [*projects locations topics compute message stats*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/api::TopicStatProjectLocationTopicComputeMessageStatCall) + * [*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) @@ -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.3+20210322/google_pubsublite1/PubsubLite)** +* **[Hub](https://docs.rs/google-pubsublite1/2.0.4+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.3+20210322/google_pubsublite1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/client::Part)** + * **[Parts](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsublite1/2.0.3+20210322/google_pubsublite1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsublite1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-pubsublite1/2.0.3+20210322/google_pubsublite1/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsublite1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_pubsublite1/client::RequestValue) and -[decodable](https://docs.rs/google-pubsublite1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsublite1/2.0.3+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.4+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.3+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.4+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.3+20210322/google_pubsublite1/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsublite1/2.0.4+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 b3ed0243f1..ab90c9bb24 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/pubsublite1/src/client.rs b/gen/pubsublite1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/pubsublite1/src/client.rs +++ b/gen/pubsublite1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/pubsublite1/src/lib.rs b/gen/pubsublite1/src/lib.rs index c3cab824d7..46bc729b05 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.3+20210322*, where *20210322* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *PubsubLite* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/lite/docs). diff --git a/gen/qpxexpress1-cli/Cargo.toml b/gen/qpxexpress1-cli/Cargo.toml index ac3f9a3664..9bc5e11652 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.3+20160708" +version = "2.0.4+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.3+20160708" +version = "2.0.4+20160708" diff --git a/gen/qpxexpress1-cli/README.md b/gen/qpxexpress1-cli/README.md index f812a674a1..258b69a79d 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.3*. +This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *2.0.4*. ```bash qpxexpress1 [options] diff --git a/gen/qpxexpress1-cli/mkdocs.yml b/gen/qpxexpress1-cli/mkdocs.yml index 9c1ed8d1dc..e86361c6ed 100644 --- a/gen/qpxexpress1-cli/mkdocs.yml +++ b/gen/qpxexpress1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: QPX Express v2.0.3+20160708 +site_name: QPX Express v2.0.4+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 8351b24a7d..00356bf01b 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.3+20160708") + .version("2.0.4+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 8210342eca..74474041bd 100644 --- a/gen/qpxexpress1/Cargo.toml +++ b/gen/qpxexpress1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-qpxexpress1" -version = "2.0.3+20160708" +version = "2.0.4+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.3+20160708" +documentation = "https://docs.rs/google-qpxexpress1/2.0.4+20160708" license = "MIT" keywords = ["qpxExpress", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/qpxexpress1/README.md b/gen/qpxexpress1/README.md index 717d42e265..42de5fe263 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.3+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160708/google_qpxexpress1/QPXExpress) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/QPXExpress) ... * trips - * [*search*](https://docs.rs/google-qpxexpress1/2.0.3+20160708/google_qpxexpress1/api::TripSearchCall) + * [*search*](https://docs.rs/google-qpxexpress1/2.0.4+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.3+20160708/google_qpxexpress1/QPXExpress)** +* **[Hub](https://docs.rs/google-qpxexpress1/2.0.4+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.3+20160708/google_qpxexpress1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/2.0.3+20160708/google_qpxexpress1/client::CallBuilder) -* **[Resources](https://docs.rs/google-qpxexpress1/2.0.3+20160708/google_qpxexpress1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-qpxexpress1/2.0.3+20160708/google_qpxexpress1/client::Part)** + * **[Parts](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-qpxexpress1/2.0.3+20160708/google_qpxexpress1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-qpxexpress1/2.0.3+20160708/google_qpxexpress1/client::Delegate) to the -[Method Builder](https://docs.rs/google-qpxexpress1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160708/google_qpxexpress1/client::RequestValue) and -[decodable](https://docs.rs/google-qpxexpress1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/2.0.3+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.4+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.3+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.4+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.3+20160708/google_qpxexpress1/client::RequestValue) are moved +* [request values](https://docs.rs/google-qpxexpress1/2.0.4+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 bc72c11110..ed97813932 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/qpxexpress1/src/client.rs b/gen/qpxexpress1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/qpxexpress1/src/client.rs +++ b/gen/qpxexpress1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs index e8337083d2..c342b265c4 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.3+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *QPX Express* *v1* API can be found at the //! [official documentation site](http://developers.google.com/qpx-express). diff --git a/gen/realtimebidding1-cli/Cargo.toml b/gen/realtimebidding1-cli/Cargo.toml index cc5961b88b..9efc27057a 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/realtimebidding1-cli/README.md b/gen/realtimebidding1-cli/README.md index 60835fa202..6726e0c937 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.3*. +This documentation was generated from the *Real-time Bidding* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash realtimebidding1 [options] diff --git a/gen/realtimebidding1-cli/mkdocs.yml b/gen/realtimebidding1-cli/mkdocs.yml index 066d7ea691..76947b31a3 100644 --- a/gen/realtimebidding1-cli/mkdocs.yml +++ b/gen/realtimebidding1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Real-time Bidding v2.0.3+20210331 +site_name: Real-time Bidding v2.0.4+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 38adfb1f08..6ecc73d3f5 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.3+20210331") + .version("2.0.4+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 dfdb0ae7f5..f9b3ac18e8 100644 --- a/gen/realtimebidding1/Cargo.toml +++ b/gen/realtimebidding1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-realtimebidding1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-realtimebidding1/2.0.4+20210331" license = "MIT" keywords = ["realtimebidding", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/realtimebidding1/README.md b/gen/realtimebidding1/README.md index 0e5debf5ad..47df5302a7 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.3+20210331*, where *20210331* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_realtimebidding1/RealTimeBidding) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/RealTimeBidding) ... -* [bidders](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::Bidder) - * [*creatives list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderCreativeListCall), [*creatives watch*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderCreativeWatchCall), [*endpoints get*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderEndpointGetCall), [*endpoints list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderEndpointListCall), [*get*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderGetCall), [*list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderListCall), [*pretargeting configs activate*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigActivateCall), [*pretargeting configs add targeted apps*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedAppCall), [*pretargeting configs add targeted publishers*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedPublisherCall), [*pretargeting configs add targeted sites*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedSiteCall), [*pretargeting configs create*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigCreateCall), [*pretargeting configs delete*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigDeleteCall), [*pretargeting configs get*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigGetCall), [*pretargeting configs list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigListCall), [*pretargeting configs patch*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigPatchCall), [*pretargeting configs remove targeted apps*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedAppCall), [*pretargeting configs remove targeted publishers*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedPublisherCall), [*pretargeting configs remove targeted sites*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedSiteCall) and [*pretargeting configs suspend*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BidderPretargetingConfigSuspendCall) -* [buyers](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::Buyer) - * [*creatives create*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerCreativeCreateCall), [*creatives get*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerCreativeGetCall), [*creatives list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerCreativeListCall), [*creatives patch*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerCreativePatchCall), [*get*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerGetCall), [*get remarketing tag*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerGetRemarketingTagCall), [*list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerListCall), [*user lists close*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListCloseCall), [*user lists create*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListCreateCall), [*user lists get*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListGetCall), [*user lists get remarketing tag*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListGetRemarketingTagCall), [*user lists list*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListListCall), [*user lists open*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListOpenCall) and [*user lists update*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/api::BuyerUserListUpdateCall) +* [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) @@ -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.3+20210331/google_realtimebidding1/RealTimeBidding)** +* **[Hub](https://docs.rs/google-realtimebidding1/2.0.4+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.3+20210331/google_realtimebidding1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/client::CallBuilder) -* **[Resources](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/client::Part)** + * **[Parts](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-realtimebidding1/2.0.3+20210331/google_realtimebidding1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-realtimebidding1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-realtimebidding1/2.0.3+20210331/google_realtimebidding1/client::Delegate) to the -[Method Builder](https://docs.rs/google-realtimebidding1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_realtimebidding1/client::RequestValue) and -[decodable](https://docs.rs/google-realtimebidding1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-realtimebidding1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_realtimebidding1/client::RequestValue) are moved +* [request values](https://docs.rs/google-realtimebidding1/2.0.4+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 b70a3b9588..284ba19522 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/realtimebidding1/src/client.rs b/gen/realtimebidding1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/realtimebidding1/src/client.rs +++ b/gen/realtimebidding1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/realtimebidding1/src/lib.rs b/gen/realtimebidding1/src/lib.rs index 7123b4ec60..98c0835fb4 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.3+20210331*, where *20210331* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/recommendationengine1_beta1-cli/Cargo.toml b/gen/recommendationengine1_beta1-cli/Cargo.toml index 87a18e039a..9f8e80d4ff 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/recommendationengine1_beta1-cli/README.md b/gen/recommendationengine1_beta1-cli/README.md index d50c7837cd..18cdf41876 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.3*. +This documentation was generated from the *Recommendations AI* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash recommendationengine1-beta1 [options] diff --git a/gen/recommendationengine1_beta1-cli/mkdocs.yml b/gen/recommendationengine1_beta1-cli/mkdocs.yml index f829fd13f5..300429c39a 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.3+20210319 +site_name: Recommendations AI v2.0.4+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 212c33c0f4..6b0fb6388d 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.3+20210319") + .version("2.0.4+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 35a387706a..52f45fbb6e 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.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-recommendationengine1_beta1/2.0.4+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 48c2c0915e..a94caffb35 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.3+20210319*, where *20210319* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_recommendationengine1_beta1/RecommendationsAI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/RecommendationsAI) ... * projects - * [*locations catalogs catalog items create*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemCreateCall), [*locations catalogs catalog items delete*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemDeleteCall), [*locations catalogs catalog items get*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemGetCall), [*locations catalogs catalog items import*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemImportCall), [*locations catalogs catalog items list*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemListCall), [*locations catalogs catalog items patch*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemPatchCall), [*locations catalogs event stores operations get*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationGetCall), [*locations catalogs event stores operations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationListCall), [*locations catalogs event stores placements predict*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePlacementPredictCall), [*locations catalogs event stores prediction api key registrations create*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationCreateCall), [*locations catalogs event stores prediction api key registrations delete*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationDeleteCall), [*locations catalogs event stores prediction api key registrations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationListCall), [*locations catalogs event stores user events collect*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventCollectCall), [*locations catalogs event stores user events import*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventImportCall), [*locations catalogs event stores user events list*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventListCall), [*locations catalogs event stores user events purge*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventPurgeCall), [*locations catalogs event stores user events rejoin*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventRejoinCall), [*locations catalogs event stores user events write*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventWriteCall), [*locations catalogs list*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationListCall) and [*locations catalogs patch*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogPatchCall) + * [*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) @@ -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.3+20210319/google_recommendationengine1_beta1/RecommendationsAI)** +* **[Hub](https://docs.rs/google-recommendationengine1_beta1/2.0.4+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.3+20210319/google_recommendationengine1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommendationengine1_beta1/2.0.4+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. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommendationengine1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-recommendationengine1_beta1/2.0.3+20210319/google_recommendationengine1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommendationengine1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_recommendationengine1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-recommendationengine1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_recommendationengine1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommendationengine1_beta1/2.0.4+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 4da1f58167..ec8c8899f8 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/recommendationengine1_beta1/src/client.rs b/gen/recommendationengine1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/recommendationengine1_beta1/src/client.rs +++ b/gen/recommendationengine1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/recommendationengine1_beta1/src/lib.rs b/gen/recommendationengine1_beta1/src/lib.rs index f858104dd1..eb5aa6bfa5 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.3+20210319*, where *20210319* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Recommendations AI* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/recommendations-ai/docs). diff --git a/gen/recommender1-cli/Cargo.toml b/gen/recommender1-cli/Cargo.toml index e9dc4ed2d8..fa3de555f3 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/recommender1-cli/README.md b/gen/recommender1-cli/README.md index 3efa60d141..4bf7d34539 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.3*. +This documentation was generated from the *Recommender* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash recommender1 [options] diff --git a/gen/recommender1-cli/mkdocs.yml b/gen/recommender1-cli/mkdocs.yml index b21c0e26b1..1db462fe31 100644 --- a/gen/recommender1-cli/mkdocs.yml +++ b/gen/recommender1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommender v2.0.3+20210319 +site_name: Recommender v2.0.4+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 c456f388a8..dd00e10e69 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.3+20210319") + .version("2.0.4+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 f1ce6a7ba9..370fe12c72 100644 --- a/gen/recommender1/Cargo.toml +++ b/gen/recommender1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommender1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-recommender1/2.0.4+20210319" license = "MIT" keywords = ["recommender", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/recommender1/README.md b/gen/recommender1/README.md index 9a948f5c96..e4d2dacc8c 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.3+20210319*, where *20210319* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_recommender1/Recommender) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/Recommender) ... * billing accounts - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) + * [*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) * folders - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) + * [*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) * organizations - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) + * [*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) * projects - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) + * [*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) @@ -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.3+20210319/google_recommender1/Recommender)** +* **[Hub](https://docs.rs/google-recommender1/2.0.4+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.3+20210319/google_recommender1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/client::Part)** + * **[Parts](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommender1/2.0.3+20210319/google_recommender1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-recommender1/2.0.3+20210319/google_recommender1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommender1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_recommender1/client::RequestValue) and -[decodable](https://docs.rs/google-recommender1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommender1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_recommender1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommender1/2.0.4+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 143ce760d2..cd2c29795c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/recommender1/src/client.rs b/gen/recommender1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/recommender1/src/client.rs +++ b/gen/recommender1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/recommender1/src/lib.rs b/gen/recommender1/src/lib.rs index 88de977a57..15192c1c8f 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.3+20210319*, where *20210319* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Recommender* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/recommender/docs/). diff --git a/gen/recommender1_beta1-cli/Cargo.toml b/gen/recommender1_beta1-cli/Cargo.toml index 38d3638772..3209b89e3f 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/recommender1_beta1-cli/README.md b/gen/recommender1_beta1-cli/README.md index f90fe0f06f..a62aea34c5 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.3*. +This documentation was generated from the *Recommender* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash recommender1-beta1 [options] diff --git a/gen/recommender1_beta1-cli/mkdocs.yml b/gen/recommender1_beta1-cli/mkdocs.yml index 3b6c331b5b..6a2e2233d8 100644 --- a/gen/recommender1_beta1-cli/mkdocs.yml +++ b/gen/recommender1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommender v2.0.3+20210319 +site_name: Recommender v2.0.4+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 357e338c6a..4793705371 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.3+20210319") + .version("2.0.4+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 5093d4ac1d..0d858118cb 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.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-recommender1_beta1/2.0.4+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 66ad3fc6da..4027aa1abd 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.3+20210319*, where *20210319* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_recommender1_beta1/Recommender) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/Recommender) ... * billing accounts - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) + * [*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) * folders - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) + * [*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) * organizations - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) + * [*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) * projects - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) + * [*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) @@ -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.3+20210319/google_recommender1_beta1/Recommender)** +* **[Hub](https://docs.rs/google-recommender1_beta1/2.0.4+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.3+20210319/google_recommender1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommender1_beta1/2.0.4+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. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-recommender1_beta1/2.0.3+20210319/google_recommender1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommender1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_recommender1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-recommender1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommender1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_recommender1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommender1_beta1/2.0.4+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 b0642816dd..17d89d96d4 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/recommender1_beta1/src/client.rs b/gen/recommender1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/recommender1_beta1/src/client.rs +++ b/gen/recommender1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/recommender1_beta1/src/lib.rs b/gen/recommender1_beta1/src/lib.rs index b65d3d95ed..88e04977ac 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.3+20210319*, where *20210319* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Recommender* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/recommender/docs/). diff --git a/gen/redis1-cli/Cargo.toml b/gen/redis1-cli/Cargo.toml index a106946a55..603cc54cc8 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/redis1-cli/README.md b/gen/redis1-cli/README.md index dd1a94e058..a23b7f24b9 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.3*. +This documentation was generated from the *Cloud Redis* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash redis1 [options] diff --git a/gen/redis1-cli/mkdocs.yml b/gen/redis1-cli/mkdocs.yml index 3e14800352..42d51bdde1 100644 --- a/gen/redis1-cli/mkdocs.yml +++ b/gen/redis1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Redis v2.0.3+20210325 +site_name: Cloud Redis v2.0.4+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 7756f01a2a..17812fad24 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.3+20210325") + .version("2.0.4+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 95357828d8..e3b2f5a1bd 100644 --- a/gen/redis1/Cargo.toml +++ b/gen/redis1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-redis1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-redis1/2.0.4+20210325" license = "MIT" keywords = ["redis", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/redis1/README.md b/gen/redis1/README.md index 9a87e66bec..c2818cb2d8 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.3+20210325*, where *20210325* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_redis1/CloudRedis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/CloudRedis) ... * projects - * [*locations get*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceDeleteCall), [*locations instances export*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceExportCall), [*locations instances failover*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceFailoverCall), [*locations instances get*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceGetCall), [*locations instances get auth string*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceGetAuthStringCall), [*locations instances import*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceImportCall), [*locations instances list*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstancePatchCall), [*locations instances upgrade*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210325/google_redis1/CloudRedis)** +* **[Hub](https://docs.rs/google-redis1/2.0.4+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.3+20210325/google_redis1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/client::CallBuilder) -* **[Resources](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/client::Part)** + * **[Parts](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-redis1/2.0.3+20210325/google_redis1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-redis1/2.0.3+20210325/google_redis1/client::Delegate) to the -[Method Builder](https://docs.rs/google-redis1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_redis1/client::RequestValue) and -[decodable](https://docs.rs/google-redis1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-redis1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_redis1/client::RequestValue) are moved +* [request values](https://docs.rs/google-redis1/2.0.4+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 9d8b45fb5c..9c8f72540d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/redis1/src/client.rs b/gen/redis1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/redis1/src/client.rs +++ b/gen/redis1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/redis1/src/lib.rs b/gen/redis1/src/lib.rs index d58c191915..d49d7cc93f 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.3+20210325*, where *20210325* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Redis* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/docs/redis/). diff --git a/gen/remotebuildexecution2-cli/Cargo.toml b/gen/remotebuildexecution2-cli/Cargo.toml index ce19c6308c..0c3965fa58 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/remotebuildexecution2-cli/README.md b/gen/remotebuildexecution2-cli/README.md index ae43642fe5..8f4ee6fe3f 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.3*. +This documentation was generated from the *Remote Build Execution* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash remotebuildexecution2 [options] diff --git a/gen/remotebuildexecution2-cli/mkdocs.yml b/gen/remotebuildexecution2-cli/mkdocs.yml index 515f63b40c..de7e0084e0 100644 --- a/gen/remotebuildexecution2-cli/mkdocs.yml +++ b/gen/remotebuildexecution2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Remote Build Execution v2.0.3+20210329 +site_name: Remote Build Execution v2.0.4+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 b7ba9bee94..af2d03066a 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.3+20210329") + .version("2.0.4+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 8c19571d75..a1e816219d 100644 --- a/gen/remotebuildexecution2/Cargo.toml +++ b/gen/remotebuildexecution2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-remotebuildexecution2" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-remotebuildexecution2/2.0.4+20210329" license = "MIT" keywords = ["remotebuildexecution", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/remotebuildexecution2/README.md b/gen/remotebuildexecution2/README.md index f29924874d..6b8168a07b 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.3+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_remotebuildexecution2/RemoteBuildExecution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/RemoteBuildExecution) ... * action results - * [*get*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::ActionResultGetCall) and [*update*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::ActionResultUpdateCall) + * [*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) * actions - * [*execute*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::ActionExecuteCall) + * [*execute*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::ActionExecuteCall) * blobs - * [*batch read*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::BlobBatchReadCall), [*batch update*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::BlobBatchUpdateCall), [*find missing*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::BlobFindMissingCall) and [*get tree*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::BlobGetTreeCall) + * [*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) * operations - * [*wait execution*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::OperationWaitExecutionCall) + * [*wait execution*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::OperationWaitExecutionCall) Other activities are ... -* [get capabilities](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/api::MethodGetCapabilityCall) +* [get capabilities](https://docs.rs/google-remotebuildexecution2/2.0.4+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.3+20210329/google_remotebuildexecution2/RemoteBuildExecution)** +* **[Hub](https://docs.rs/google-remotebuildexecution2/2.0.4+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.3+20210329/google_remotebuildexecution2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/client::CallBuilder) -* **[Resources](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/client::Part)** + * **[Parts](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-remotebuildexecution2/2.0.3+20210329/google_remotebuildexecution2/client::Delegate) to the -[Method Builder](https://docs.rs/google-remotebuildexecution2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_remotebuildexecution2/client::RequestValue) and -[decodable](https://docs.rs/google-remotebuildexecution2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-remotebuildexecution2/2.0.3+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.4+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.3+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.4+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.3+20210329/google_remotebuildexecution2/client::RequestValue) are moved +* [request values](https://docs.rs/google-remotebuildexecution2/2.0.4+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 a15c38c95f..0ff4f2d944 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/remotebuildexecution2/src/client.rs b/gen/remotebuildexecution2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/remotebuildexecution2/src/client.rs +++ b/gen/remotebuildexecution2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/remotebuildexecution2/src/lib.rs b/gen/remotebuildexecution2/src/lib.rs index 418c7293bb..396d586966 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.3+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/replicapool1_beta2-cli/Cargo.toml b/gen/replicapool1_beta2-cli/Cargo.toml index 6d0732e616..ae74a583be 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.3+20160512" +version = "2.0.4+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.3+20160512" +version = "2.0.4+20160512" diff --git a/gen/replicapool1_beta2-cli/README.md b/gen/replicapool1_beta2-cli/README.md index 413d9228c3..22cbd806fe 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.3*. +This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *2.0.4*. ```bash replicapool1-beta2 [options] diff --git a/gen/replicapool1_beta2-cli/mkdocs.yml b/gen/replicapool1_beta2-cli/mkdocs.yml index b548341495..c81f470872 100644 --- a/gen/replicapool1_beta2-cli/mkdocs.yml +++ b/gen/replicapool1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapool v2.0.3+20160512 +site_name: replicapool v2.0.4+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 3487f53292..9f2ee833e1 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.3+20160512") + .version("2.0.4+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 f067a27777..08e8f3bd3d 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.3+20160512" +version = "2.0.4+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.3+20160512" +documentation = "https://docs.rs/google-replicapool1_beta2/2.0.4+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 775f1cabe7..984a6b5bb8 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.3+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160512/google_replicapool1_beta2/Replicapool) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/Replicapool) ... -* [instance group managers](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManager) - * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerAbandonInstanceCall), [*delete*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteInstanceCall), [*get*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerListCall), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetInstanceTemplateCall) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetTargetPoolCall) +* [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) * zone operations - * [*get*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/api::ZoneOperationListCall) + * [*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) @@ -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.3+20160512/google_replicapool1_beta2/Replicapool)** +* **[Hub](https://docs.rs/google-replicapool1_beta2/2.0.4+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.3+20160512/google_replicapool1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-replicapool1_beta2/2.0.4+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. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-replicapool1_beta2/2.0.3+20160512/google_replicapool1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-replicapool1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160512/google_replicapool1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-replicapool1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/2.0.3+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.4+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.3+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.4+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.3+20160512/google_replicapool1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-replicapool1_beta2/2.0.4+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 9b8106a8af..0db6ab07e7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/replicapool1_beta2/src/client.rs b/gen/replicapool1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/replicapool1_beta2/src/client.rs +++ b/gen/replicapool1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/replicapool1_beta2/src/lib.rs b/gen/replicapool1_beta2/src/lib.rs index 619e75843e..c978992866 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.3+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *replicapool* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). diff --git a/gen/replicapoolupdater1_beta1-cli/Cargo.toml b/gen/replicapoolupdater1_beta1-cli/Cargo.toml index 97f22379d3..6bc88c06ae 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.3+20161003" +version = "2.0.4+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.3+20161003" +version = "2.0.4+20161003" diff --git a/gen/replicapoolupdater1_beta1-cli/README.md b/gen/replicapoolupdater1_beta1-cli/README.md index 696ef8601a..e94ce88c62 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.3*. +This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *2.0.4*. ```bash replicapoolupdater1-beta1 [options] diff --git a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml index 3181674a3a..25eb9e7b46 100644 --- a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml +++ b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapoolupdater v2.0.3+20161003 +site_name: replicapoolupdater v2.0.4+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 0d57fe5b14..0222de6610 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.3+20161003") + .version("2.0.4+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 f1ebd95d11..0c07c9f4aa 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.3+20161003" +version = "2.0.4+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.3+20161003" +documentation = "https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+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 993358fce9..a6b2891aa9 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.3+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater) ... -* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdate) - * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateCancelCall), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateGetCall), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateInsertCall), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListCall), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListInstanceUpdateCall), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdatePauseCall), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateResumeCall) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateRollbackCall) +* [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) * zone operations - * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationListCall) + * [*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) @@ -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.3+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater)** +* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+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.3+20161003/google_replicapoolupdater1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-replicapoolupdater1_beta1/2.0.3+20161003/google_replicapoolupdater1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20161003/google_replicapoolupdater1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.3+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.4+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.3+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.4+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.3+20161003/google_replicapoolupdater1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+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 a98b20caf6..18fb20232a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/replicapoolupdater1_beta1/src/client.rs b/gen/replicapoolupdater1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/replicapoolupdater1_beta1/src/client.rs +++ b/gen/replicapoolupdater1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs b/gen/replicapoolupdater1_beta1/src/lib.rs index 4450830f53..a8739685d4 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.3+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). diff --git a/gen/reseller1_sandbox-cli/Cargo.toml b/gen/reseller1_sandbox-cli/Cargo.toml index ca9e16cb46..94dd0509db 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.3+20160329" +version = "2.0.4+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.3+20160329" +version = "2.0.4+20160329" diff --git a/gen/reseller1_sandbox-cli/README.md b/gen/reseller1_sandbox-cli/README.md index 4d18788ee9..73f8691bf8 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.3*. +This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *2.0.4*. ```bash reseller1-sandbox [options] diff --git a/gen/reseller1_sandbox-cli/mkdocs.yml b/gen/reseller1_sandbox-cli/mkdocs.yml index 18984be0e1..d03cfc26b8 100644 --- a/gen/reseller1_sandbox-cli/mkdocs.yml +++ b/gen/reseller1_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reseller v2.0.3+20160329 +site_name: reseller v2.0.4+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 0c4a2f5b9b..b41f6fdd89 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.3+20160329") + .version("2.0.4+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 65b19bb0ca..20be2966ee 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.3+20160329" +version = "2.0.4+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.3+20160329" +documentation = "https://docs.rs/google-reseller1_sandbox/2.0.4+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 0c1ecfe72c..91239a1d44 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.3+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160329/google_reseller1_sandbox/Reseller) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/Reseller) ... -* [customers](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::Customer) - * [*get*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::CustomerGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::CustomerInsertCall), [*patch*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::CustomerPatchCall) and [*update*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::CustomerUpdateCall) -* [subscriptions](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::Subscription) - * [*activate*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionActivateCall), [*change plan*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionChangePlanCall), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionChangeRenewalSettingCall), [*change seats*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionChangeSeatCall), [*delete*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionDeleteCall), [*get*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionListCall), [*start paid service*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionStartPaidServiceCall) and [*suspend*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/api::SubscriptionSuspendCall) +* [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) @@ -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.3+20160329/google_reseller1_sandbox/Reseller)** +* **[Hub](https://docs.rs/google-reseller1_sandbox/2.0.4+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.3+20160329/google_reseller1_sandbox/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/client::CallBuilder) -* **[Resources](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/client::Part)** + * **[Parts](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/client::CallBuilder)** +* **[Activities](https://docs.rs/google-reseller1_sandbox/2.0.4+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. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-reseller1_sandbox/2.0.3+20160329/google_reseller1_sandbox/client::Delegate) to the -[Method Builder](https://docs.rs/google-reseller1_sandbox/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160329/google_reseller1_sandbox/client::RequestValue) and -[decodable](https://docs.rs/google-reseller1_sandbox/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/2.0.3+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.4+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.3+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.4+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.3+20160329/google_reseller1_sandbox/client::RequestValue) are moved +* [request values](https://docs.rs/google-reseller1_sandbox/2.0.4+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 4312ba3fac..d148fea0b7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/reseller1_sandbox/src/client.rs b/gen/reseller1_sandbox/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/reseller1_sandbox/src/client.rs +++ b/gen/reseller1_sandbox/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/reseller1_sandbox/src/lib.rs b/gen/reseller1_sandbox/src/lib.rs index d5628851fb..d5f6933241 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.3+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *reseller* *v1_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/reseller/). diff --git a/gen/resourceviews1_beta2-cli/Cargo.toml b/gen/resourceviews1_beta2-cli/Cargo.toml index 09092b4810..196dfb5d5d 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.3+20160512" +version = "2.0.4+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.3+20160512" +version = "2.0.4+20160512" diff --git a/gen/resourceviews1_beta2-cli/README.md b/gen/resourceviews1_beta2-cli/README.md index af67c7662b..309ded37be 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.3*. +This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *2.0.4*. ```bash resourceviews1-beta2 [options] diff --git a/gen/resourceviews1_beta2-cli/mkdocs.yml b/gen/resourceviews1_beta2-cli/mkdocs.yml index 4ad122323f..9212c649cc 100644 --- a/gen/resourceviews1_beta2-cli/mkdocs.yml +++ b/gen/resourceviews1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: resourceviews v2.0.3+20160512 +site_name: resourceviews v2.0.4+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 449a72dd19..1c4183844c 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.3+20160512") + .version("2.0.4+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 5a3bed2f12..11577b3bf8 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.3+20160512" +version = "2.0.4+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.3+20160512" +documentation = "https://docs.rs/google-resourceviews1_beta2/2.0.4+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 2c5d545f0d..fd6f010716 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.3+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160512/google_resourceviews1_beta2/Resourceviews) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/Resourceviews) ... * zone operations - * [*get*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneOperationListCall) + * [*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) * zone views - * [*add resources*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewAddResourceCall), [*delete*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewDeleteCall), [*get*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewGetCall), [*get service*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewGetServiceCall), [*insert*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewInsertCall), [*list*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewListCall), [*list resources*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewListResourceCall), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewRemoveResourceCall) and [*set service*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/api::ZoneViewSetServiceCall) + * [*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) @@ -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.3+20160512/google_resourceviews1_beta2/Resourceviews)** +* **[Hub](https://docs.rs/google-resourceviews1_beta2/2.0.4+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.3+20160512/google_resourceviews1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-resourceviews1_beta2/2.0.4+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. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-resourceviews1_beta2/2.0.3+20160512/google_resourceviews1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-resourceviews1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160512/google_resourceviews1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-resourceviews1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/2.0.3+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.4+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.3+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.4+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.3+20160512/google_resourceviews1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-resourceviews1_beta2/2.0.4+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 84d7ed7bfe..44b546ba82 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/resourceviews1_beta2/src/client.rs b/gen/resourceviews1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/resourceviews1_beta2/src/client.rs +++ b/gen/resourceviews1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/resourceviews1_beta2/src/lib.rs b/gen/resourceviews1_beta2/src/lib.rs index 3b9d1ed3cc..650ea1e9ca 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.3+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *resourceviews* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/). diff --git a/gen/retail2-cli/Cargo.toml b/gen/retail2-cli/Cargo.toml index feaa9e83d7..3bd0f4f436 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/retail2-cli/README.md b/gen/retail2-cli/README.md index 015a2966de..5bcc85e68d 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.3*. +This documentation was generated from the *Cloud Retail* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash retail2 [options] diff --git a/gen/retail2-cli/mkdocs.yml b/gen/retail2-cli/mkdocs.yml index 82d468b36c..c9b6461a98 100644 --- a/gen/retail2-cli/mkdocs.yml +++ b/gen/retail2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Retail v2.0.3+20210319 +site_name: Cloud Retail v2.0.4+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 8a4755cf3a..8be4182fd4 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.3+20210319") + .version("2.0.4+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 67fa6ff17a..659d861b2b 100644 --- a/gen/retail2/Cargo.toml +++ b/gen/retail2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-retail2" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-retail2/2.0.4+20210319" license = "MIT" keywords = ["retail", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/retail2/README.md b/gen/retail2/README.md index 21a625231d..adc1045d4b 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.3+20210319*, where *20210319* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_retail2/CloudRetail) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/CloudRetail) ... * projects - * [*locations catalogs branches operations get*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogBrancheOperationGetCall), [*locations catalogs branches products create*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductCreateCall), [*locations catalogs branches products delete*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductDeleteCall), [*locations catalogs branches products get*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductGetCall), [*locations catalogs branches products import*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductImportCall), [*locations catalogs branches products patch*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductPatchCall), [*locations catalogs list*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogOperationListCall), [*locations catalogs patch*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogPatchCall), [*locations catalogs placements predict*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogPlacementPredictCall), [*locations catalogs user events collect*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogUserEventCollectCall), [*locations catalogs user events import*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogUserEventImportCall), [*locations catalogs user events purge*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogUserEventPurgeCall), [*locations catalogs user events rejoin*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogUserEventRejoinCall), [*locations catalogs user events write*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationCatalogUserEventWriteCall), [*locations operations get*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/api::ProjectLocationOperationListCall) + * [*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) @@ -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.3+20210319/google_retail2/CloudRetail)** +* **[Hub](https://docs.rs/google-retail2/2.0.4+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.3+20210319/google_retail2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/client::CallBuilder) -* **[Resources](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/client::Part)** + * **[Parts](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-retail2/2.0.3+20210319/google_retail2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-retail2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-retail2/2.0.3+20210319/google_retail2/client::Delegate) to the -[Method Builder](https://docs.rs/google-retail2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_retail2/client::RequestValue) and -[decodable](https://docs.rs/google-retail2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-retail2/2.0.3+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.4+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.3+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.4+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.3+20210319/google_retail2/client::RequestValue) are moved +* [request values](https://docs.rs/google-retail2/2.0.4+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 77bbf17c9e..4c63a6b958 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/retail2/src/client.rs b/gen/retail2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/retail2/src/client.rs +++ b/gen/retail2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/retail2/src/lib.rs b/gen/retail2/src/lib.rs index 193f7514fe..71824bd715 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.3+20210319*, where *20210319* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Retail* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/recommendations). diff --git a/gen/run1-cli/Cargo.toml b/gen/run1-cli/Cargo.toml index 08e97cd76a..d82cb14c81 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/run1-cli/README.md b/gen/run1-cli/README.md index 80dbdf6fe8..f784d6b691 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.3*. +This documentation was generated from the *Cloud Run* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash run1 [options] diff --git a/gen/run1-cli/mkdocs.yml b/gen/run1-cli/mkdocs.yml index a73b4aacdf..7720e2fd9a 100644 --- a/gen/run1-cli/mkdocs.yml +++ b/gen/run1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Run v2.0.3+20210326 +site_name: Cloud Run v2.0.4+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 00f2564d09..05b73227cb 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.3+20210326") + .version("2.0.4+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 64d9f9c23b..ab94993ae9 100644 --- a/gen/run1/Cargo.toml +++ b/gen/run1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-run1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-run1/2.0.4+20210326" license = "MIT" keywords = ["run", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/run1/README.md b/gen/run1/README.md index 2766ad6658..529c176993 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.3+20210326*, where *20210326* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_run1/CloudRun) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run1/2.0.4+20210326/google_run1/CloudRun) ... * namespaces - * [*authorizeddomains list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceAuthorizeddomainListCall), [*configurations get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceConfigurationGetCall), [*configurations list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceConfigurationListCall), [*domainmappings create*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceDomainmappingCreateCall), [*domainmappings delete*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceDomainmappingDeleteCall), [*domainmappings get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceDomainmappingGetCall), [*domainmappings list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceDomainmappingListCall), [*revisions delete*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceRevisionDeleteCall), [*revisions get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceRevisionGetCall), [*revisions list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceRevisionListCall), [*routes get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceRouteGetCall), [*routes list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceRouteListCall), [*services create*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceServiceCreateCall), [*services delete*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceServiceDeleteCall), [*services get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceServiceGetCall), [*services list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceServiceListCall) and [*services replace service*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::NamespaceServiceReplaceServiceCall) + * [*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) * projects - * [*authorizeddomains list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectAuthorizeddomainListCall), [*locations authorizeddomains list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationAuthorizeddomainListCall), [*locations configurations get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationConfigurationGetCall), [*locations configurations list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationConfigurationListCall), [*locations domainmappings create*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationDomainmappingCreateCall), [*locations domainmappings delete*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationDomainmappingDeleteCall), [*locations domainmappings get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationDomainmappingGetCall), [*locations domainmappings list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationDomainmappingListCall), [*locations list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationListCall), [*locations revisions delete*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationRevisionDeleteCall), [*locations revisions get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationRevisionGetCall), [*locations revisions list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationRevisionListCall), [*locations routes get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationRouteGetCall), [*locations routes list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationRouteListCall), [*locations services create*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceListCall), [*locations services replace service*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceReplaceServiceCall), [*locations services set iam policy*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/api::ProjectLocationServiceTestIamPermissionCall) + * [*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) @@ -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.3+20210326/google_run1/CloudRun)** +* **[Hub](https://docs.rs/google-run1/2.0.4+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.3+20210326/google_run1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-run1/2.0.3+20210326/google_run1/client::CallBuilder) -* **[Resources](https://docs.rs/google-run1/2.0.3+20210326/google_run1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-run1/2.0.3+20210326/google_run1/client::Part)** + * **[Parts](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-run1/2.0.3+20210326/google_run1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-run1/2.0.3+20210326/google_run1/client::Delegate) to the -[Method Builder](https://docs.rs/google-run1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_run1/client::RequestValue) and -[decodable](https://docs.rs/google-run1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-run1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_run1/client::RequestValue) are moved +* [request values](https://docs.rs/google-run1/2.0.4+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 6ae0810b6f..b24c11d6da 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/run1/src/client.rs b/gen/run1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/run1/src/client.rs +++ b/gen/run1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/run1/src/lib.rs b/gen/run1/src/lib.rs index 4d719f2dce..83b59c1bf5 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.3+20210326*, where *20210326* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Run* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/run/). diff --git a/gen/runtimeconfig1-cli/Cargo.toml b/gen/runtimeconfig1-cli/Cargo.toml index 0acf88d9b0..416a67687d 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/runtimeconfig1-cli/README.md b/gen/runtimeconfig1-cli/README.md index 879557948a..8942bcaac6 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.3*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash runtimeconfig1 [options] diff --git a/gen/runtimeconfig1-cli/mkdocs.yml b/gen/runtimeconfig1-cli/mkdocs.yml index cf3acf0d38..8f4a631e4a 100644 --- a/gen/runtimeconfig1-cli/mkdocs.yml +++ b/gen/runtimeconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v2.0.3+20210329 +site_name: Cloud RuntimeConfig v2.0.4+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 08b931232a..b408fa3112 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.3+20210329") + .version("2.0.4+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 9e8e5a4886..d38476e611 100644 --- a/gen/runtimeconfig1/Cargo.toml +++ b/gen/runtimeconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-runtimeconfig1/2.0.4+20210329" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/runtimeconfig1/README.md b/gen/runtimeconfig1/README.md index 950ff5778f..e92e7af7c8 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.3+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_runtimeconfig1/CloudRuntimeConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/CloudRuntimeConfig) ... -* [operations](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/api::Operation) - * [*cancel*](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/api::OperationCancelCall), [*delete*](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/api::OperationListCall) +* [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) @@ -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.3+20210329/google_runtimeconfig1/CloudRuntimeConfig)** +* **[Hub](https://docs.rs/google-runtimeconfig1/2.0.4+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.3+20210329/google_runtimeconfig1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/client::CallBuilder) -* **[Resources](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/client::Part)** + * **[Parts](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-runtimeconfig1/2.0.3+20210329/google_runtimeconfig1/client::Delegate) to the -[Method Builder](https://docs.rs/google-runtimeconfig1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_runtimeconfig1/client::RequestValue) and -[decodable](https://docs.rs/google-runtimeconfig1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_runtimeconfig1/client::RequestValue) are moved +* [request values](https://docs.rs/google-runtimeconfig1/2.0.4+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 aaef024a39..66a5c289c7 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/runtimeconfig1/src/client.rs b/gen/runtimeconfig1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/runtimeconfig1/src/client.rs +++ b/gen/runtimeconfig1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/runtimeconfig1/src/lib.rs b/gen/runtimeconfig1/src/lib.rs index d2aa296769..6d49bddcc9 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.3+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud RuntimeConfig* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). diff --git a/gen/runtimeconfig1_beta1-cli/Cargo.toml b/gen/runtimeconfig1_beta1-cli/Cargo.toml index 283e4677f9..3020bba192 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/runtimeconfig1_beta1-cli/README.md b/gen/runtimeconfig1_beta1-cli/README.md index d4e76694eb..5ee3cfffbe 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.3*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash runtimeconfig1-beta1 [options] diff --git a/gen/runtimeconfig1_beta1-cli/mkdocs.yml b/gen/runtimeconfig1_beta1-cli/mkdocs.yml index bb540a0187..6afda935cd 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.3+20210329 +site_name: Cloud RuntimeConfig v2.0.4+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 89f784e39d..2441b249eb 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.3+20210329") + .version("2.0.4+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 41a7da5db9..95fa9d68dc 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.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-runtimeconfig1_beta1/2.0.4+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 b1b558d23c..a6366e422c 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.3+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig) ... * projects - * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigCreateCall), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigDeleteCall), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigGetCall), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigGetIamPolicyCall), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigListCall), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigOperationGetCall), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigOperationTestIamPermissionCall), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigSetIamPolicyCall), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigTestIamPermissionCall), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigUpdateCall), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableCreateCall), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableDeleteCall), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableGetCall), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableListCall), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableTestIamPermissionCall), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableUpdateCall), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableWatchCall), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterCreateCall), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterDeleteCall), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterGetCall), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterListCall) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterTestIamPermissionCall) + * [*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) @@ -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.3+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig)** +* **[Hub](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+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.3+20210329/google_runtimeconfig1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+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. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-runtimeconfig1_beta1/2.0.3+20210329/google_runtimeconfig1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_runtimeconfig1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_runtimeconfig1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+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 50ce1b4912..2478deeaf5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/runtimeconfig1_beta1/src/client.rs b/gen/runtimeconfig1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/runtimeconfig1_beta1/src/client.rs +++ b/gen/runtimeconfig1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/runtimeconfig1_beta1/src/lib.rs b/gen/runtimeconfig1_beta1/src/lib.rs index 81f4053757..5237047d8c 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.3+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/safebrowsing4-cli/Cargo.toml b/gen/safebrowsing4-cli/Cargo.toml index 8efd261fb5..d6da6e0972 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/safebrowsing4-cli/README.md b/gen/safebrowsing4-cli/README.md index f33b39fb68..c279abf1b3 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.3*. +This documentation was generated from the *Safebrowsing* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash safebrowsing4 [options] diff --git a/gen/safebrowsing4-cli/mkdocs.yml b/gen/safebrowsing4-cli/mkdocs.yml index d69584593d..8e0c3a4ad3 100644 --- a/gen/safebrowsing4-cli/mkdocs.yml +++ b/gen/safebrowsing4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Safebrowsing v2.0.3+20210330 +site_name: Safebrowsing v2.0.4+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 2835a642b3..3f3313103d 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.3+20210330") + .version("2.0.4+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 df0eec6c63..8109233919 100644 --- a/gen/safebrowsing4/Cargo.toml +++ b/gen/safebrowsing4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-safebrowsing4" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-safebrowsing4/2.0.4+20210330" license = "MIT" keywords = ["safebrowsing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/safebrowsing4/README.md b/gen/safebrowsing4/README.md index 3edf12fa70..9de47c3f5d 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.3+20210330*, where *20210330* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_safebrowsing4/Safebrowsing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/Safebrowsing) ... * encoded full hashes - * [*get*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::EncodedFullHasheGetCall) + * [*get*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::EncodedFullHasheGetCall) * encoded updates - * [*get*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::EncodedUpdateGetCall) + * [*get*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::EncodedUpdateGetCall) * full hashes - * [*find*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::FullHasheFindCall) + * [*find*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::FullHasheFindCall) * threat hits - * [*create*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::ThreatHitCreateCall) + * [*create*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatHitCreateCall) * threat list updates - * [*fetch*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::ThreatListUpdateFetchCall) + * [*fetch*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatListUpdateFetchCall) * threat lists - * [*list*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::ThreatListListCall) + * [*list*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatListListCall) * threat matches - * [*find*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/api::ThreatMatcheFindCall) + * [*find*](https://docs.rs/google-safebrowsing4/2.0.4+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.3+20210330/google_safebrowsing4/Safebrowsing)** +* **[Hub](https://docs.rs/google-safebrowsing4/2.0.4+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.3+20210330/google_safebrowsing4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/client::CallBuilder) -* **[Resources](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/client::Part)** + * **[Parts](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-safebrowsing4/2.0.3+20210330/google_safebrowsing4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-safebrowsing4/2.0.3+20210330/google_safebrowsing4/client::Delegate) to the -[Method Builder](https://docs.rs/google-safebrowsing4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_safebrowsing4/client::RequestValue) and -[decodable](https://docs.rs/google-safebrowsing4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/2.0.3+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.4+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.3+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.4+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.3+20210330/google_safebrowsing4/client::RequestValue) are moved +* [request values](https://docs.rs/google-safebrowsing4/2.0.4+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 154ba26e65..08f8c5f2d2 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/safebrowsing4/src/client.rs b/gen/safebrowsing4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/safebrowsing4/src/client.rs +++ b/gen/safebrowsing4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/safebrowsing4/src/lib.rs b/gen/safebrowsing4/src/lib.rs index 7c719e2c4f..e631cd9119 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.3+20210330*, where *20210330* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Safebrowsing* *v4* API can be found at the //! [official documentation site](https://developers.google.com/safe-browsing/). diff --git a/gen/sasportal1_alpha1-cli/Cargo.toml b/gen/sasportal1_alpha1-cli/Cargo.toml index ba2e1a2e13..f7a2c0adca 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/sasportal1_alpha1-cli/README.md b/gen/sasportal1_alpha1-cli/README.md index fe505e1a35..76f5efd7af 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.3*. +This documentation was generated from the *sasportal* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash sasportal1-alpha1 [options] diff --git a/gen/sasportal1_alpha1-cli/mkdocs.yml b/gen/sasportal1_alpha1-cli/mkdocs.yml index e15590d974..f5c8060211 100644 --- a/gen/sasportal1_alpha1-cli/mkdocs.yml +++ b/gen/sasportal1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: sasportal v2.0.3+20210330 +site_name: sasportal v2.0.4+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 cfed1ad464..8f97ce87c8 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.3+20210330") + .version("2.0.4+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 692c37d47f..ae6e57a75b 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.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-sasportal1_alpha1/2.0.4+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 2a8ecca995..61432f6a72 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.3+20210330*, where *20210330* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_sasportal1_alpha1/Sasportal) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/Sasportal) ... * customers - * [*deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::CustomerPatchCall) + * [*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 - * [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::DeploymentGetCall) + * [*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) * installer - * [*generate secret*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::InstallerValidateCall) + * [*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) * nodes - * [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::NodeNodePatchCall) + * [*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) * policies - * [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/api::PolicyTestCall) + * [*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) @@ -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.3+20210330/google_sasportal1_alpha1/Sasportal)** +* **[Hub](https://docs.rs/google-sasportal1_alpha1/2.0.4+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.3+20210330/google_sasportal1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sasportal1_alpha1/2.0.4+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. @@ -161,17 +161,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sasportal1_alpha1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-sasportal1_alpha1/2.0.3+20210330/google_sasportal1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sasportal1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_sasportal1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-sasportal1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sasportal1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_sasportal1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sasportal1_alpha1/2.0.4+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 a916cfb56e..12b9f12bb1 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/sasportal1_alpha1/src/client.rs b/gen/sasportal1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/sasportal1_alpha1/src/client.rs +++ b/gen/sasportal1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/sasportal1_alpha1/src/lib.rs b/gen/sasportal1_alpha1/src/lib.rs index 883c804904..f29e25475a 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.3+20210330*, where *20210330* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *sasportal* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/spectrum-access-system/). diff --git a/gen/searchconsole1-cli/Cargo.toml b/gen/searchconsole1-cli/Cargo.toml index be03f78a26..51df144a2f 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/searchconsole1-cli/README.md b/gen/searchconsole1-cli/README.md index f5b24ea04b..e2cebd7915 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.3*. +This documentation was generated from the *Search Console* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash searchconsole1 [options] diff --git a/gen/searchconsole1-cli/mkdocs.yml b/gen/searchconsole1-cli/mkdocs.yml index a73ed5f25f..2ccf0edfea 100644 --- a/gen/searchconsole1-cli/mkdocs.yml +++ b/gen/searchconsole1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Search Console v2.0.3+20210325 +site_name: Search Console v2.0.4+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 2a0f1f219c..fbb92b4d8d 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.3+20210325") + .version("2.0.4+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 496f6665d7..8b133dfc7a 100644 --- a/gen/searchconsole1/Cargo.toml +++ b/gen/searchconsole1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-searchconsole1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-searchconsole1/2.0.4+20210325" license = "MIT" keywords = ["searchconsole", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/searchconsole1/README.md b/gen/searchconsole1/README.md index ad9ecb7c1f..8af47bfac3 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.3+20210325*, where *20210325* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_searchconsole1/SearchConsole) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/SearchConsole) ... * searchanalytics - * [*query*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SearchanalyticQueryCall) + * [*query*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SearchanalyticQueryCall) * sitemaps - * [*delete*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SitemapDeleteCall), [*get*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SitemapGetCall), [*list*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SitemapListCall) and [*submit*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SitemapSubmitCall) + * [*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) * sites - * [*add*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SiteAddCall), [*delete*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SiteDeleteCall), [*get*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SiteGetCall) and [*list*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::SiteListCall) + * [*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) * url testing tools - * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/api::UrlTestingToolMobileFriendlyTestRunCall) + * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/2.0.4+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.3+20210325/google_searchconsole1/SearchConsole)** +* **[Hub](https://docs.rs/google-searchconsole1/2.0.4+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.3+20210325/google_searchconsole1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/client::CallBuilder) -* **[Resources](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/client::Part)** + * **[Parts](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-searchconsole1/2.0.3+20210325/google_searchconsole1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-searchconsole1/2.0.3+20210325/google_searchconsole1/client::Delegate) to the -[Method Builder](https://docs.rs/google-searchconsole1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_searchconsole1/client::RequestValue) and -[decodable](https://docs.rs/google-searchconsole1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-searchconsole1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_searchconsole1/client::RequestValue) are moved +* [request values](https://docs.rs/google-searchconsole1/2.0.4+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 e9262479cc..33cc70f796 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/searchconsole1/src/client.rs b/gen/searchconsole1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/searchconsole1/src/client.rs +++ b/gen/searchconsole1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/searchconsole1/src/lib.rs b/gen/searchconsole1/src/lib.rs index 7c939204c7..af8a40904b 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.3+20210325*, where *20210325* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/secretmanager1-cli/Cargo.toml b/gen/secretmanager1-cli/Cargo.toml index 6d2a4d2270..622e318690 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/secretmanager1-cli/README.md b/gen/secretmanager1-cli/README.md index c61b7bd6d0..e2530580d7 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.3*. +This documentation was generated from the *Secret Manager* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash secretmanager1 [options] diff --git a/gen/secretmanager1-cli/mkdocs.yml b/gen/secretmanager1-cli/mkdocs.yml index bb655f14f6..a396a1f05f 100644 --- a/gen/secretmanager1-cli/mkdocs.yml +++ b/gen/secretmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Secret Manager v2.0.3+20210319 +site_name: Secret Manager v2.0.4+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 496fa813be..262008f52c 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.3+20210319") + .version("2.0.4+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 e2eac4b223..b32389d6bd 100644 --- a/gen/secretmanager1/Cargo.toml +++ b/gen/secretmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-secretmanager1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-secretmanager1/2.0.4+20210319" license = "MIT" keywords = ["secretmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/secretmanager1/README.md b/gen/secretmanager1/README.md index 9404c19945..05a5976058 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.3+20210319*, where *20210319* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_secretmanager1/SecretManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/SecretManager) ... * projects - * [*locations get*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/api::ProjectSecretVersionListCall) + * [*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) @@ -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.3+20210319/google_secretmanager1/SecretManager)** +* **[Hub](https://docs.rs/google-secretmanager1/2.0.4+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.3+20210319/google_secretmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/client::Part)** + * **[Parts](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-secretmanager1/2.0.3+20210319/google_secretmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-secretmanager1/2.0.3+20210319/google_secretmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-secretmanager1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_secretmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-secretmanager1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_secretmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-secretmanager1/2.0.4+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 002720ca89..dfcffcb679 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/secretmanager1/src/client.rs b/gen/secretmanager1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/secretmanager1/src/client.rs +++ b/gen/secretmanager1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/secretmanager1/src/lib.rs b/gen/secretmanager1/src/lib.rs index 0b0543be42..df1eb370ca 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.3+20210319*, where *20210319* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Secret Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/secret-manager/). diff --git a/gen/secretmanager1_beta1-cli/Cargo.toml b/gen/secretmanager1_beta1-cli/Cargo.toml index 9b75525038..0d53b8cf36 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/secretmanager1_beta1-cli/README.md b/gen/secretmanager1_beta1-cli/README.md index 5e3285e2db..8e24218448 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.3*. +This documentation was generated from the *Secret Manager* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash secretmanager1-beta1 [options] diff --git a/gen/secretmanager1_beta1-cli/mkdocs.yml b/gen/secretmanager1_beta1-cli/mkdocs.yml index 83e6bdf0db..80fc871a2e 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.3+20210319 +site_name: Secret Manager v2.0.4+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 a1af2bc2e2..45723df186 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.3+20210319") + .version("2.0.4+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 831d96cd65..397a604b95 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.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-secretmanager1_beta1/2.0.4+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 95732c7123..b93fd4e288 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.3+20210319*, where *20210319* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_secretmanager1_beta1/SecretManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/SecretManager) ... * projects - * [*locations get*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionListCall) + * [*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) @@ -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.3+20210319/google_secretmanager1_beta1/SecretManager)** +* **[Hub](https://docs.rs/google-secretmanager1_beta1/2.0.4+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.3+20210319/google_secretmanager1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-secretmanager1_beta1/2.0.4+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. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-secretmanager1_beta1/2.0.3+20210319/google_secretmanager1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-secretmanager1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_secretmanager1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-secretmanager1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_secretmanager1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-secretmanager1_beta1/2.0.4+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 3dc5a5e574..cf13ce93db 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/secretmanager1_beta1/src/client.rs b/gen/secretmanager1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/secretmanager1_beta1/src/client.rs +++ b/gen/secretmanager1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/secretmanager1_beta1/src/lib.rs b/gen/secretmanager1_beta1/src/lib.rs index bd05b306e6..7710297ba9 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.3+20210319*, where *20210319* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Secret Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/secret-manager/). diff --git a/gen/securitycenter1-cli/Cargo.toml b/gen/securitycenter1-cli/Cargo.toml index 72c6be12fa..37ebdd1341 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/securitycenter1-cli/README.md b/gen/securitycenter1-cli/README.md index e005e45b7e..63a672deeb 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.3*. +This documentation was generated from the *Security Command Center* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash securitycenter1 [options] diff --git a/gen/securitycenter1-cli/mkdocs.yml b/gen/securitycenter1-cli/mkdocs.yml index 9bd26da66a..f56523e70b 100644 --- a/gen/securitycenter1-cli/mkdocs.yml +++ b/gen/securitycenter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Security Command Center v2.0.3+20210326 +site_name: Security Command Center v2.0.4+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 87cadb6cdf..eaf482867b 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.3+20210326") + .version("2.0.4+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 55d30b156e..4425ae4108 100644 --- a/gen/securitycenter1/Cargo.toml +++ b/gen/securitycenter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-securitycenter1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-securitycenter1/2.0.4+20210326" license = "MIT" keywords = ["securitycenter", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/securitycenter1/README.md b/gen/securitycenter1/README.md index fe1be64644..a37b16da92 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.3+20210326*, where *20210326* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_securitycenter1/SecurityCommandCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/SecurityCommandCenter) ... -* [folders](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::Folder) - * [*assets group*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderAssetUpdateSecurityMarkCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::FolderSourceListCall) +* [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) * organizations - * [*assets group*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationAssetListCall), [*assets run discovery*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationAssetRunDiscoveryCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationAssetUpdateSecurityMarkCall), [*get organization settings*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationGetOrganizationSettingCall), [*notification configs create*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationNotificationConfigCreateCall), [*notification configs delete*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationNotificationConfigDeleteCall), [*notification configs get*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationNotificationConfigGetCall), [*notification configs list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationNotificationConfigListCall), [*notification configs patch*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationNotificationConfigPatchCall), [*operations cancel*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationOperationCancelCall), [*operations delete*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationOperationDeleteCall), [*operations get*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationOperationListCall), [*sources create*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceCreateCall), [*sources findings create*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceFindingCreateCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceFindingUpdateSecurityMarkCall), [*sources get*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceGetCall), [*sources get iam policy*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceGetIamPolicyCall), [*sources list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceListCall), [*sources patch*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourcePatchCall), [*sources set iam policy*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceSetIamPolicyCall), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationSourceTestIamPermissionCall) and [*update organization settings*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::OrganizationUpdateOrganizationSettingCall) + * [*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) * projects - * [*assets group*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectAssetUpdateSecurityMarkCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/api::ProjectSourceListCall) + * [*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) @@ -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.3+20210326/google_securitycenter1/SecurityCommandCenter)** +* **[Hub](https://docs.rs/google-securitycenter1/2.0.4+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.3+20210326/google_securitycenter1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/client::CallBuilder) -* **[Resources](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/client::Part)** + * **[Parts](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-securitycenter1/2.0.3+20210326/google_securitycenter1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-securitycenter1/2.0.3+20210326/google_securitycenter1/client::Delegate) to the -[Method Builder](https://docs.rs/google-securitycenter1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_securitycenter1/client::RequestValue) and -[decodable](https://docs.rs/google-securitycenter1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-securitycenter1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_securitycenter1/client::RequestValue) are moved +* [request values](https://docs.rs/google-securitycenter1/2.0.4+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 7a5dff4dc5..6857661e06 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/securitycenter1/src/client.rs b/gen/securitycenter1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/securitycenter1/src/client.rs +++ b/gen/securitycenter1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/securitycenter1/src/lib.rs b/gen/securitycenter1/src/lib.rs index 4b6c981473..36e5ec794b 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.3+20210326*, where *20210326* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Security Command Center* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/security-command-center). diff --git a/gen/servicebroker1-cli/Cargo.toml b/gen/servicebroker1-cli/Cargo.toml index 838f4f88a0..598c1e47ec 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.3+20190624" +version = "2.0.4+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.3+20190624" +version = "2.0.4+20190624" diff --git a/gen/servicebroker1-cli/README.md b/gen/servicebroker1-cli/README.md index afb2d70a65..367493669b 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.3*. +This documentation was generated from the *Service Broker* API at revision *20190624*. The CLI is at version *2.0.4*. ```bash servicebroker1 [options] diff --git a/gen/servicebroker1-cli/mkdocs.yml b/gen/servicebroker1-cli/mkdocs.yml index 1da03fea68..d9a006a238 100644 --- a/gen/servicebroker1-cli/mkdocs.yml +++ b/gen/servicebroker1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Broker v2.0.3+20190624 +site_name: Service Broker v2.0.4+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 b1fcdbc40e..9be44b6e06 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.3+20190624") + .version("2.0.4+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 aa2c5e1c7f..3a7cce3222 100644 --- a/gen/servicebroker1/Cargo.toml +++ b/gen/servicebroker1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicebroker1" -version = "2.0.3+20190624" +version = "2.0.4+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.3+20190624" +documentation = "https://docs.rs/google-servicebroker1/2.0.4+20190624" license = "MIT" keywords = ["servicebroker", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicebroker1/README.md b/gen/servicebroker1/README.md index ab4c41892b..4ba3211d6c 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.3+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190624/google_servicebroker1/ServiceBroker) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/ServiceBroker) ... -* [get iam policy](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/api::MethodGetIamPolicyCall) -* [set iam policy](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/api::MethodTestIamPermissionCall) +* [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) @@ -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.3+20190624/google_servicebroker1/ServiceBroker)** +* **[Hub](https://docs.rs/google-servicebroker1/2.0.4+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.3+20190624/google_servicebroker1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/client::Part)** + * **[Parts](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicebroker1/2.0.3+20190624/google_servicebroker1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-servicebroker1/2.0.3+20190624/google_servicebroker1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicebroker1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190624/google_servicebroker1/client::RequestValue) and -[decodable](https://docs.rs/google-servicebroker1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicebroker1/2.0.3+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.4+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.3+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.4+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.3+20190624/google_servicebroker1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicebroker1/2.0.4+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 fe8a5930cb..9c15c8810b 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/servicebroker1/src/client.rs b/gen/servicebroker1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/servicebroker1/src/client.rs +++ b/gen/servicebroker1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/servicebroker1/src/lib.rs b/gen/servicebroker1/src/lib.rs index 968ed58ec1..5c6ab46da7 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.3+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/servicecontrol1-cli/Cargo.toml b/gen/servicecontrol1-cli/Cargo.toml index 1780b07f2b..a36fa77f88 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/servicecontrol1-cli/README.md b/gen/servicecontrol1-cli/README.md index 3ddc097eb2..5f0f7f3056 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.3*. +This documentation was generated from the *Service Control* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash servicecontrol1 [options] diff --git a/gen/servicecontrol1-cli/mkdocs.yml b/gen/servicecontrol1-cli/mkdocs.yml index ef9c06a001..8f99f57951 100644 --- a/gen/servicecontrol1-cli/mkdocs.yml +++ b/gen/servicecontrol1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v2.0.3+20210326 +site_name: Service Control v2.0.4+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 4ccb271b8d..edf7740bf6 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.3+20210326") + .version("2.0.4+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 bdee769d0f..37c68ba656 100644 --- a/gen/servicecontrol1/Cargo.toml +++ b/gen/servicecontrol1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-servicecontrol1/2.0.4+20210326" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicecontrol1/README.md b/gen/servicecontrol1/README.md index 607aee7308..48cb04746c 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.3+20210326*, where *20210326* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_servicecontrol1/ServiceControl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/ServiceControl) ... * services - * [*allocate quota*](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/api::ServiceAllocateQuotaCall), [*check*](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/api::ServiceReportCall) + * [*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) @@ -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.3+20210326/google_servicecontrol1/ServiceControl)** +* **[Hub](https://docs.rs/google-servicecontrol1/2.0.4+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.3+20210326/google_servicecontrol1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/client::Part)** + * **[Parts](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol1/2.0.3+20210326/google_servicecontrol1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-servicecontrol1/2.0.3+20210326/google_servicecontrol1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicecontrol1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_servicecontrol1/client::RequestValue) and -[decodable](https://docs.rs/google-servicecontrol1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_servicecontrol1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicecontrol1/2.0.4+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 8c94d98b30..d824d7af8c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/servicecontrol1/src/client.rs b/gen/servicecontrol1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/servicecontrol1/src/client.rs +++ b/gen/servicecontrol1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/servicecontrol1/src/lib.rs b/gen/servicecontrol1/src/lib.rs index c35e70b97f..3792b8a8ce 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.3+20210326*, where *20210326* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Service Control* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). diff --git a/gen/servicecontrol2-cli/Cargo.toml b/gen/servicecontrol2-cli/Cargo.toml index ba9c0d0f59..9c0d9e2d05 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/servicecontrol2-cli/README.md b/gen/servicecontrol2-cli/README.md index 4d4fa27c65..bc308e42d8 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.3*. +This documentation was generated from the *Service Control* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash servicecontrol2 [options] diff --git a/gen/servicecontrol2-cli/mkdocs.yml b/gen/servicecontrol2-cli/mkdocs.yml index 3a26cfaed9..bc3547f21a 100644 --- a/gen/servicecontrol2-cli/mkdocs.yml +++ b/gen/servicecontrol2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v2.0.3+20210326 +site_name: Service Control v2.0.4+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 0f33625d45..638ab498b3 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.3+20210326") + .version("2.0.4+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 8db4ce52c2..040652dcf0 100644 --- a/gen/servicecontrol2/Cargo.toml +++ b/gen/servicecontrol2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol2" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-servicecontrol2/2.0.4+20210326" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicecontrol2/README.md b/gen/servicecontrol2/README.md index 1affc4351b..b4a2a67b79 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.3+20210326*, where *20210326* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_servicecontrol2/ServiceControl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/ServiceControl) ... * services - * [*check*](https://docs.rs/google-servicecontrol2/2.0.3+20210326/google_servicecontrol2/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol2/2.0.3+20210326/google_servicecontrol2/api::ServiceReportCall) + * [*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) @@ -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.3+20210326/google_servicecontrol2/ServiceControl)** +* **[Hub](https://docs.rs/google-servicecontrol2/2.0.4+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.3+20210326/google_servicecontrol2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol2/2.0.3+20210326/google_servicecontrol2/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicecontrol2/2.0.3+20210326/google_servicecontrol2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol2/2.0.3+20210326/google_servicecontrol2/client::Part)** + * **[Parts](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol2/2.0.3+20210326/google_servicecontrol2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-servicecontrol2/2.0.3+20210326/google_servicecontrol2/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicecontrol2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_servicecontrol2/client::RequestValue) and -[decodable](https://docs.rs/google-servicecontrol2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol2/2.0.3+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.4+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.3+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.4+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.3+20210326/google_servicecontrol2/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicecontrol2/2.0.4+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 7aeac5ea7f..ea2de6a7f3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/servicecontrol2/src/client.rs b/gen/servicecontrol2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/servicecontrol2/src/client.rs +++ b/gen/servicecontrol2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/servicecontrol2/src/lib.rs b/gen/servicecontrol2/src/lib.rs index b74313c26d..bee96cd7c8 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.3+20210326*, where *20210326* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Service Control* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). diff --git a/gen/servicedirectory1-cli/Cargo.toml b/gen/servicedirectory1-cli/Cargo.toml index 6bd09482df..5ae29e6426 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/servicedirectory1-cli/README.md b/gen/servicedirectory1-cli/README.md index 031efb7d7b..5fd69a658e 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.3*. +This documentation was generated from the *Service Directory* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash servicedirectory1 [options] diff --git a/gen/servicedirectory1-cli/mkdocs.yml b/gen/servicedirectory1-cli/mkdocs.yml index d304d3dfb4..8d1afcf27b 100644 --- a/gen/servicedirectory1-cli/mkdocs.yml +++ b/gen/servicedirectory1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Directory v2.0.3+20210316 +site_name: Service Directory v2.0.4+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 15c977b4a7..8d059e1cd6 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.3+20210316") + .version("2.0.4+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 cb611430d7..5176dc6fb3 100644 --- a/gen/servicedirectory1/Cargo.toml +++ b/gen/servicedirectory1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicedirectory1" -version = "2.0.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-servicedirectory1/2.0.4+20210316" license = "MIT" keywords = ["servicedirectory", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicedirectory1/README.md b/gen/servicedirectory1/README.md index 01d715a392..2d706f46bb 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.3+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_servicedirectory1/ServiceDirectory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/ServiceDirectory) ... * projects - * [*locations get*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/api::ProjectLocationNamespaceTestIamPermissionCall) + * [*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) @@ -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.3+20210316/google_servicedirectory1/ServiceDirectory)** +* **[Hub](https://docs.rs/google-servicedirectory1/2.0.4+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.3+20210316/google_servicedirectory1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/client::Part)** + * **[Parts](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicedirectory1/2.0.3+20210316/google_servicedirectory1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-servicedirectory1/2.0.3+20210316/google_servicedirectory1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicedirectory1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_servicedirectory1/client::RequestValue) and -[decodable](https://docs.rs/google-servicedirectory1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_servicedirectory1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicedirectory1/2.0.4+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 84d1636ef2..7db5fb6e91 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/servicedirectory1/src/client.rs b/gen/servicedirectory1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/servicedirectory1/src/client.rs +++ b/gen/servicedirectory1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/servicedirectory1/src/lib.rs b/gen/servicedirectory1/src/lib.rs index 48e90d427e..c4ac438f88 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.3+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Service Directory* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-directory). diff --git a/gen/servicedirectory1_beta1-cli/Cargo.toml b/gen/servicedirectory1_beta1-cli/Cargo.toml index 3426c1996a..bf67180cbd 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/servicedirectory1_beta1-cli/README.md b/gen/servicedirectory1_beta1-cli/README.md index 8389481eb8..7fb7612a9d 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.3*. +This documentation was generated from the *Service Directory* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash servicedirectory1-beta1 [options] diff --git a/gen/servicedirectory1_beta1-cli/mkdocs.yml b/gen/servicedirectory1_beta1-cli/mkdocs.yml index c6ec654d7d..1b3d6c2cd1 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.3+20210316 +site_name: Service Directory v2.0.4+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 8ac8daab58..009d95b2ca 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.3+20210316") + .version("2.0.4+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 c190dd0491..08276893b1 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.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-servicedirectory1_beta1/2.0.4+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 85144ef64c..9c4405aafe 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.3+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_servicedirectory1_beta1/ServiceDirectory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/ServiceDirectory) ... * projects - * [*locations get*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceTestIamPermissionCall) + * [*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) @@ -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.3+20210316/google_servicedirectory1_beta1/ServiceDirectory)** +* **[Hub](https://docs.rs/google-servicedirectory1_beta1/2.0.4+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.3+20210316/google_servicedirectory1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicedirectory1_beta1/2.0.4+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. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-servicedirectory1_beta1/2.0.3+20210316/google_servicedirectory1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicedirectory1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_servicedirectory1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-servicedirectory1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_servicedirectory1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicedirectory1_beta1/2.0.4+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 269776ab9b..74de4c7518 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/servicedirectory1_beta1/src/client.rs b/gen/servicedirectory1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/servicedirectory1_beta1/src/client.rs +++ b/gen/servicedirectory1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/servicedirectory1_beta1/src/lib.rs b/gen/servicedirectory1_beta1/src/lib.rs index dbe10a5bb5..0a925e71e9 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.3+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Service Directory* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/service-directory). diff --git a/gen/serviceregistryalpha-cli/Cargo.toml b/gen/serviceregistryalpha-cli/Cargo.toml index 6f7cead500..8e07ac9b11 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.3+20160401" +version = "2.0.4+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.3+20160401" +version = "2.0.4+20160401" diff --git a/gen/serviceregistryalpha-cli/README.md b/gen/serviceregistryalpha-cli/README.md index 23e4812cb3..c9516fe8fb 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.3*. +This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *2.0.4*. ```bash serviceregistryalpha [options] diff --git a/gen/serviceregistryalpha-cli/mkdocs.yml b/gen/serviceregistryalpha-cli/mkdocs.yml index f37cea59e7..a54e93d9f4 100644 --- a/gen/serviceregistryalpha-cli/mkdocs.yml +++ b/gen/serviceregistryalpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Registry v2.0.3+20160401 +site_name: Service Registry v2.0.4+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 5ec45d3583..780e6e5280 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.3+20160401") + .version("2.0.4+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 765fee701e..af90e326ff 100644 --- a/gen/serviceregistryalpha/Cargo.toml +++ b/gen/serviceregistryalpha/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-serviceregistryalpha" -version = "2.0.3+20160401" +version = "2.0.4+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.3+20160401" +documentation = "https://docs.rs/google-serviceregistryalpha/2.0.4+20160401" license = "MIT" keywords = ["serviceregistry", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/serviceregistryalpha/README.md b/gen/serviceregistryalpha/README.md index 313061fc2d..6c7323cb12 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.3+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160401/google_serviceregistryalpha/ServiceRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/ServiceRegistry) ... -* [endpoints](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::Endpoint) - * [*delete*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::EndpointDeleteCall), [*get*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::EndpointGetCall), [*insert*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::EndpointInsertCall), [*list*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::EndpointListCall), [*patch*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::EndpointPatchCall) and [*update*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::EndpointUpdateCall) -* [operations](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::Operation) - * [*get*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::OperationGetCall) and [*list*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/api::OperationListCall) +* [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) @@ -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.3+20160401/google_serviceregistryalpha/ServiceRegistry)** +* **[Hub](https://docs.rs/google-serviceregistryalpha/2.0.4+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.3+20160401/google_serviceregistryalpha/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/client::CallBuilder) -* **[Resources](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/client::Part)** + * **[Parts](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/client::CallBuilder)** +* **[Activities](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-serviceregistryalpha/2.0.3+20160401/google_serviceregistryalpha/client::Delegate) to the -[Method Builder](https://docs.rs/google-serviceregistryalpha/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160401/google_serviceregistryalpha/client::RequestValue) and -[decodable](https://docs.rs/google-serviceregistryalpha/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/2.0.3+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.4+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.3+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.4+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.3+20160401/google_serviceregistryalpha/client::RequestValue) are moved +* [request values](https://docs.rs/google-serviceregistryalpha/2.0.4+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 3b3a13b74d..3c59697a1c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/serviceregistryalpha/src/client.rs b/gen/serviceregistryalpha/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/serviceregistryalpha/src/client.rs +++ b/gen/serviceregistryalpha/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/serviceregistryalpha/src/lib.rs b/gen/serviceregistryalpha/src/lib.rs index 2a42faa415..eca81befcc 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.3+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Service Registry* *alpha* API can be found at the //! [official documentation site](https://developers.google.com/cloud-serviceregistry/). diff --git a/gen/sheets4-cli/Cargo.toml b/gen/sheets4-cli/Cargo.toml index d7218d05a2..5316d3f64b 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.3+20210322" +version = "2.0.4+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.3+20210322" +version = "2.0.4+20210322" diff --git a/gen/sheets4-cli/README.md b/gen/sheets4-cli/README.md index 9b0c21f010..90b325d956 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.3*. +This documentation was generated from the *Sheets* API at revision *20210322*. The CLI is at version *2.0.4*. ```bash sheets4 [options] diff --git a/gen/sheets4-cli/mkdocs.yml b/gen/sheets4-cli/mkdocs.yml index 76e203fdcc..fc77f25b33 100644 --- a/gen/sheets4-cli/mkdocs.yml +++ b/gen/sheets4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Sheets v2.0.3+20210322 +site_name: Sheets v2.0.4+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 7a9b80065d..6c08b09385 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.3+20210322") + .version("2.0.4+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 617cd25026..32c8b8e6db 100644 --- a/gen/sheets4/Cargo.toml +++ b/gen/sheets4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sheets4" -version = "2.0.3+20210322" +version = "2.0.4+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.3+20210322" +documentation = "https://docs.rs/google-sheets4/2.0.4+20210322" license = "MIT" keywords = ["sheets", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sheets4/README.md b/gen/sheets4/README.md index bd22da2e03..60cd641c4d 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.3+20210322*, where *20210322* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210322/google_sheets4/Sheets) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/Sheets) ... -* [spreadsheets](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::Spreadsheet) - * [*batch update*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetBatchUpdateCall), [*create*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetCreateCall), [*developer metadata get*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetDeveloperMetadataGetCall), [*developer metadata search*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetDeveloperMetadataSearchCall), [*get*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetGetCall), [*get by data filter*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetGetByDataFilterCall), [*sheets copy to*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetSheetCopyToCall), [*values append*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueAppendCall), [*values batch clear*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueBatchClearCall), [*values batch clear by data filter*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueBatchClearByDataFilterCall), [*values batch get*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueBatchGetCall), [*values batch get by data filter*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueBatchGetByDataFilterCall), [*values batch update*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueBatchUpdateCall), [*values batch update by data filter*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueBatchUpdateByDataFilterCall), [*values clear*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueClearCall), [*values get*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueGetCall) and [*values update*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/api::SpreadsheetValueUpdateCall) +* [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) @@ -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.3+20210322/google_sheets4/Sheets)** +* **[Hub](https://docs.rs/google-sheets4/2.0.4+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.3+20210322/google_sheets4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/client::Part)** + * **[Parts](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sheets4/2.0.3+20210322/google_sheets4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-sheets4/2.0.3+20210322/google_sheets4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sheets4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210322/google_sheets4/client::RequestValue) and -[decodable](https://docs.rs/google-sheets4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sheets4/2.0.3+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.4+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.3+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.4+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.3+20210322/google_sheets4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sheets4/2.0.4+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 e0c1b8f3fc..05b2bde199 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/sheets4/src/client.rs b/gen/sheets4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/sheets4/src/client.rs +++ b/gen/sheets4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/sheets4/src/lib.rs b/gen/sheets4/src/lib.rs index b572dda557..963f055b9f 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.3+20210322*, where *20210322* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Sheets* *v4* API can be found at the //! [official documentation site](https://developers.google.com/sheets/). diff --git a/gen/siteverification1-cli/Cargo.toml b/gen/siteverification1-cli/Cargo.toml index 0656055d5f..a74b836089 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.3+20191119" +version = "2.0.4+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.3+20191119" +version = "2.0.4+20191119" diff --git a/gen/siteverification1-cli/README.md b/gen/siteverification1-cli/README.md index f1dd04f1b1..51c589152b 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.3*. +This documentation was generated from the *siteVerification* API at revision *20191119*. The CLI is at version *2.0.4*. ```bash siteverification1 [options] diff --git a/gen/siteverification1-cli/mkdocs.yml b/gen/siteverification1-cli/mkdocs.yml index a0910c420a..5fde4db103 100644 --- a/gen/siteverification1-cli/mkdocs.yml +++ b/gen/siteverification1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: siteVerification v2.0.3+20191119 +site_name: siteVerification v2.0.4+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 6e4b8f56ea..5321bd869e 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.3+20191119") + .version("2.0.4+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 975b1238a8..6fe820f5da 100644 --- a/gen/siteverification1/Cargo.toml +++ b/gen/siteverification1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-siteverification1" -version = "2.0.3+20191119" +version = "2.0.4+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.3+20191119" +documentation = "https://docs.rs/google-siteverification1/2.0.4+20191119" license = "MIT" keywords = ["siteVerification", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/siteverification1/README.md b/gen/siteverification1/README.md index eea6b7421f..6d83843daa 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.3+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20191119/google_siteverification1/SiteVerification) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/SiteVerification) ... * web resource - * [*delete*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourceDeleteCall), [*get*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourceGetCall), [*get token*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourceGetTokenCall), [*insert*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourceInsertCall), [*list*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourceListCall), [*patch*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourcePatchCall) and [*update*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/api::WebResourceUpdateCall) + * [*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) @@ -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.3+20191119/google_siteverification1/SiteVerification)** +* **[Hub](https://docs.rs/google-siteverification1/2.0.4+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.3+20191119/google_siteverification1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/client::CallBuilder) -* **[Resources](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/client::Part)** + * **[Parts](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-siteverification1/2.0.3+20191119/google_siteverification1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-siteverification1/2.0.3+20191119/google_siteverification1/client::Delegate) to the -[Method Builder](https://docs.rs/google-siteverification1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20191119/google_siteverification1/client::RequestValue) and -[decodable](https://docs.rs/google-siteverification1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/2.0.3+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.4+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.3+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.4+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.3+20191119/google_siteverification1/client::RequestValue) are moved +* [request values](https://docs.rs/google-siteverification1/2.0.4+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 b8233c23e1..ff8510e621 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/siteverification1/src/client.rs b/gen/siteverification1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/siteverification1/src/client.rs +++ b/gen/siteverification1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/siteverification1/src/lib.rs b/gen/siteverification1/src/lib.rs index b7ae8de7dc..18a460e56d 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.3+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *siteVerification* *v1* API can be found at the //! [official documentation site](https://developers.google.com/site-verification/). diff --git a/gen/smartdevicemanagement1-cli/Cargo.toml b/gen/smartdevicemanagement1-cli/Cargo.toml index 50450c8c74..48bb702fa1 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/smartdevicemanagement1-cli/README.md b/gen/smartdevicemanagement1-cli/README.md index 432d70f076..0eab8bf483 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.3*. +This documentation was generated from the *Smart Device Management* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash smartdevicemanagement1 [options] diff --git a/gen/smartdevicemanagement1-cli/mkdocs.yml b/gen/smartdevicemanagement1-cli/mkdocs.yml index 7cf7d1b3f7..4c4a73adaa 100644 --- a/gen/smartdevicemanagement1-cli/mkdocs.yml +++ b/gen/smartdevicemanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Smart Device Management v2.0.3+20210319 +site_name: Smart Device Management v2.0.4+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 ab5e7f7337..d75b41cd19 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.3+20210319") + .version("2.0.4+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 7ae12d910a..f87f81b4e9 100644 --- a/gen/smartdevicemanagement1/Cargo.toml +++ b/gen/smartdevicemanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-smartdevicemanagement1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319" license = "MIT" keywords = ["smartdevicemanagemen", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/smartdevicemanagement1/README.md b/gen/smartdevicemanagement1/README.md index 7b7ffeb22a..b53296a79f 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.3+20210319*, where *20210319* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_smartdevicemanagement1/SmartDeviceManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/SmartDeviceManagement) ... * enterprises - * [*devices execute command*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceExecuteCommandCall), [*devices get*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceGetCall), [*devices list*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceListCall), [*structures get*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseStructureGetCall), [*structures list*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseStructureListCall), [*structures rooms get*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseStructureRoomGetCall) and [*structures rooms list*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/api::EnterpriseStructureRoomListCall) + * [*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) @@ -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.3+20210319/google_smartdevicemanagement1/SmartDeviceManagement)** +* **[Hub](https://docs.rs/google-smartdevicemanagement1/2.0.4+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.3+20210319/google_smartdevicemanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/client::Part)** + * **[Parts](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-smartdevicemanagement1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-smartdevicemanagement1/2.0.3+20210319/google_smartdevicemanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-smartdevicemanagement1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_smartdevicemanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-smartdevicemanagement1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-smartdevicemanagement1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_smartdevicemanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-smartdevicemanagement1/2.0.4+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 e29e7b2f43..6548a60567 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/smartdevicemanagement1/src/client.rs b/gen/smartdevicemanagement1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/smartdevicemanagement1/src/client.rs +++ b/gen/smartdevicemanagement1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/smartdevicemanagement1/src/lib.rs b/gen/smartdevicemanagement1/src/lib.rs index 95a514b42b..7486d25a7d 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.3+20210319*, where *20210319* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Smart Device Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/nest/device-access). diff --git a/gen/sourcerepo1-cli/Cargo.toml b/gen/sourcerepo1-cli/Cargo.toml index d051ba1dbe..db2a6b2871 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.3+20210125" +version = "2.0.4+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.3+20210125" +version = "2.0.4+20210125" diff --git a/gen/sourcerepo1-cli/README.md b/gen/sourcerepo1-cli/README.md index 3ce41c1942..efe3424219 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.3*. +This documentation was generated from the *Cloud Source Repositories* API at revision *20210125*. The CLI is at version *2.0.4*. ```bash sourcerepo1 [options] diff --git a/gen/sourcerepo1-cli/mkdocs.yml b/gen/sourcerepo1-cli/mkdocs.yml index bb1734b72a..a18cf91365 100644 --- a/gen/sourcerepo1-cli/mkdocs.yml +++ b/gen/sourcerepo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Source Repositories v2.0.3+20210125 +site_name: Cloud Source Repositories v2.0.4+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 1d561f9654..ff93508f1d 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.3+20210125") + .version("2.0.4+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 cbd675f0a2..2f1d546311 100644 --- a/gen/sourcerepo1/Cargo.toml +++ b/gen/sourcerepo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sourcerepo1" -version = "2.0.3+20210125" +version = "2.0.4+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.3+20210125" +documentation = "https://docs.rs/google-sourcerepo1/2.0.4+20210125" license = "MIT" keywords = ["sourcerepo", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sourcerepo1/README.md b/gen/sourcerepo1/README.md index 3e564a680a..8ce7514513 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.3+20210125*, where *20210125* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210125/google_sourcerepo1/CloudSourceRepositories) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/CloudSourceRepositories) ... * projects - * [*get config*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectGetConfigCall), [*repos create*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoCreateCall), [*repos delete*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoDeleteCall), [*repos get*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoGetCall), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoGetIamPolicyCall), [*repos list*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoListCall), [*repos patch*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoPatchCall), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoSetIamPolicyCall), [*repos sync*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoSyncCall), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectRepoTestIamPermissionCall) and [*update config*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/api::ProjectUpdateConfigCall) + * [*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) @@ -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.3+20210125/google_sourcerepo1/CloudSourceRepositories)** +* **[Hub](https://docs.rs/google-sourcerepo1/2.0.4+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.3+20210125/google_sourcerepo1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/client::Part)** + * **[Parts](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sourcerepo1/2.0.3+20210125/google_sourcerepo1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-sourcerepo1/2.0.3+20210125/google_sourcerepo1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sourcerepo1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210125/google_sourcerepo1/client::RequestValue) and -[decodable](https://docs.rs/google-sourcerepo1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sourcerepo1/2.0.3+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.4+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.3+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.4+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.3+20210125/google_sourcerepo1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sourcerepo1/2.0.4+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 cb95c43f91..90cf2f6d29 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/sourcerepo1/src/client.rs b/gen/sourcerepo1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/sourcerepo1/src/client.rs +++ b/gen/sourcerepo1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/sourcerepo1/src/lib.rs b/gen/sourcerepo1/src/lib.rs index c370c9c697..eb19fcaf0f 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.3+20210125*, where *20210125* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/spectrum1_explorer-cli/Cargo.toml b/gen/spectrum1_explorer-cli/Cargo.toml index 764ce12351..fd8570bfda 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.3+20170306" +version = "2.0.4+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.3+20170306" +version = "2.0.4+20170306" diff --git a/gen/spectrum1_explorer-cli/README.md b/gen/spectrum1_explorer-cli/README.md index 7ea5a06f2b..762a6d6ba8 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.3*. +This documentation was generated from the *spectrum* API at revision *20170306*. The CLI is at version *2.0.4*. ```bash spectrum1-explorer [options] diff --git a/gen/spectrum1_explorer-cli/mkdocs.yml b/gen/spectrum1_explorer-cli/mkdocs.yml index 8035f0e7c2..8c65238e33 100644 --- a/gen/spectrum1_explorer-cli/mkdocs.yml +++ b/gen/spectrum1_explorer-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: spectrum v2.0.3+20170306 +site_name: spectrum v2.0.4+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 93b38bf699..38a30fca7d 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.3+20170306") + .version("2.0.4+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 72b403aa38..0a3a75e4ec 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.3+20170306" +version = "2.0.4+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.3+20170306" +documentation = "https://docs.rs/google-spectrum1_explorer/2.0.4+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 5105ab37fe..34abca4415 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.3+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20170306/google_spectrum1_explorer/Spectrum) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/Spectrum) ... * paws - * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/api::PawGetSpectrumCall), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/api::PawGetSpectrumBatchCall), [*init*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/api::PawInitCall), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/api::PawNotifySpectrumUseCall), [*register*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/api::PawRegisterCall) and [*verify device*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/api::PawVerifyDeviceCall) + * [*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) @@ -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.3+20170306/google_spectrum1_explorer/Spectrum)** +* **[Hub](https://docs.rs/google-spectrum1_explorer/2.0.4+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.3+20170306/google_spectrum1_explorer/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/client::CallBuilder) -* **[Resources](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/client::Part)** + * **[Parts](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/client::CallBuilder)** +* **[Activities](https://docs.rs/google-spectrum1_explorer/2.0.4+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. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-spectrum1_explorer/2.0.3+20170306/google_spectrum1_explorer/client::Delegate) to the -[Method Builder](https://docs.rs/google-spectrum1_explorer/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20170306/google_spectrum1_explorer/client::RequestValue) and -[decodable](https://docs.rs/google-spectrum1_explorer/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/2.0.3+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.4+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.3+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.4+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.3+20170306/google_spectrum1_explorer/client::RequestValue) are moved +* [request values](https://docs.rs/google-spectrum1_explorer/2.0.4+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 19cebba90f..f213c304dc 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/spectrum1_explorer/src/client.rs b/gen/spectrum1_explorer/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/spectrum1_explorer/src/client.rs +++ b/gen/spectrum1_explorer/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/spectrum1_explorer/src/lib.rs b/gen/spectrum1_explorer/src/lib.rs index 83b1716d44..04f310111e 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.3+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *spectrum* *v1_explorer* API can be found at the //! [official documentation site](http://developers.google.com/spectrum). diff --git a/gen/speech1-cli/Cargo.toml b/gen/speech1-cli/Cargo.toml index d2e4c52053..47ece89d1d 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/speech1-cli/README.md b/gen/speech1-cli/README.md index 250e8bd050..4e6d30a0f4 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.3*. +This documentation was generated from the *Speech* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash speech1 [options] diff --git a/gen/speech1-cli/mkdocs.yml b/gen/speech1-cli/mkdocs.yml index e8886d98e3..2a2248d7e8 100644 --- a/gen/speech1-cli/mkdocs.yml +++ b/gen/speech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v2.0.3+20210325 +site_name: Speech v2.0.4+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 5cb0c6a300..a07a04a96c 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.3+20210325") + .version("2.0.4+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 65ece73639..ffe7218c53 100644 --- a/gen/speech1/Cargo.toml +++ b/gen/speech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-speech1/2.0.4+20210325" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/speech1/README.md b/gen/speech1/README.md index 4c69369d79..b1ebd462bc 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.3+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_speech1/Speech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/Speech) ... -* [operations](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/api::Operation) - * [*get*](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/api::OperationListCall) +* [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) * speech - * [*longrunningrecognize*](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/api::SpeechLongrunningrecognizeCall) and [*recognize*](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/api::SpeechRecognizeCall) + * [*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) @@ -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.3+20210325/google_speech1/Speech)** +* **[Hub](https://docs.rs/google-speech1/2.0.4+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.3+20210325/google_speech1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/client::CallBuilder) -* **[Resources](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/client::Part)** + * **[Parts](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1/2.0.3+20210325/google_speech1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-speech1/2.0.3+20210325/google_speech1/client::Delegate) to the -[Method Builder](https://docs.rs/google-speech1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_speech1/client::RequestValue) and -[decodable](https://docs.rs/google-speech1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-speech1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_speech1/client::RequestValue) are moved +* [request values](https://docs.rs/google-speech1/2.0.4+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 19e61b2132..eb7592a06d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/speech1/src/client.rs b/gen/speech1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/speech1/src/client.rs +++ b/gen/speech1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/speech1/src/lib.rs b/gen/speech1/src/lib.rs index d1a2192b31..617cb04a99 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.3+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/speech1_beta1-cli/Cargo.toml b/gen/speech1_beta1-cli/Cargo.toml index ad562d9c28..5a0a20214c 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.3+20181005" +version = "2.0.4+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.3+20181005" +version = "2.0.4+20181005" diff --git a/gen/speech1_beta1-cli/README.md b/gen/speech1_beta1-cli/README.md index c0e680dc1a..d1d026bd9b 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.3*. +This documentation was generated from the *Speech* API at revision *20181005*. The CLI is at version *2.0.4*. ```bash speech1-beta1 [options] diff --git a/gen/speech1_beta1-cli/mkdocs.yml b/gen/speech1_beta1-cli/mkdocs.yml index e273226500..5d7b3b2caf 100644 --- a/gen/speech1_beta1-cli/mkdocs.yml +++ b/gen/speech1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v2.0.3+20181005 +site_name: Speech v2.0.4+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 27c8777f1f..c3d77f4878 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.3+20181005") + .version("2.0.4+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 84c00f2fe9..804fee5c9a 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.3+20181005" +version = "2.0.4+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.3+20181005" +documentation = "https://docs.rs/google-speech1_beta1/2.0.4+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 079c2a1bc9..b5be6b8f5a 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.3+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20181005/google_speech1_beta1/Speech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/Speech) ... -* [operations](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/api::Operation) - * [*get*](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/api::OperationListCall) +* [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) * speech - * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/api::SpeechAsyncrecognizeCall) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/api::SpeechSyncrecognizeCall) + * [*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) @@ -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.3+20181005/google_speech1_beta1/Speech)** +* **[Hub](https://docs.rs/google-speech1_beta1/2.0.4+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.3+20181005/google_speech1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1_beta1/2.0.3+20181005/google_speech1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-speech1_beta1/2.0.4+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. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-speech1_beta1/2.0.3+20181005/google_speech1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-speech1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20181005/google_speech1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-speech1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-speech1_beta1/2.0.3+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.4+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.3+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.4+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.3+20181005/google_speech1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-speech1_beta1/2.0.4+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 95fc3ba761..cdb0f94f4e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/speech1_beta1/src/client.rs b/gen/speech1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/speech1_beta1/src/client.rs +++ b/gen/speech1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/speech1_beta1/src/lib.rs b/gen/speech1_beta1/src/lib.rs index 4ce8e46d7b..45a6c6267b 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.3+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/sql1_beta4-cli/Cargo.toml b/gen/sql1_beta4-cli/Cargo.toml index 7eed39ab8d..b1d6625581 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.3+20200331" +version = "2.0.4+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.3+20200331" +version = "2.0.4+20200331" diff --git a/gen/sql1_beta4-cli/README.md b/gen/sql1_beta4-cli/README.md index dc227e5058..0559b01e4b 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.3*. +This documentation was generated from the *SQL Admin* API at revision *20200331*. The CLI is at version *2.0.4*. ```bash sql1-beta4 [options] diff --git a/gen/sql1_beta4-cli/mkdocs.yml b/gen/sql1_beta4-cli/mkdocs.yml index de63296fcb..2ce8040fe8 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.3+20200331 +site_name: SQL Admin v2.0.4+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 71b9799342..2ef79eb94b 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.3+20200331") + .version("2.0.4+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 6802330818..f0869a66be 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.3+20200331" +version = "2.0.4+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.3+20200331" +documentation = "https://docs.rs/google-sql1_beta4/2.0.4+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 e702e30488..3295f03dfa 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.3+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20200331/google_sql1_beta4/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::BackupRun) - * [*delete*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::BackupRunListCall) -* [databases](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::Database) - * [*delete*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::Flag) - * [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::FlagListCall) +* [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) * instances - * [*add server ca*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::Operation) - * [*get*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::OperationListCall) + * [*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) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::SslCertListCall) -* [tiers](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::Tier) - * [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::TierListCall) -* [users](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::User) - * [*delete*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/api::UserUpdateCall) + * [*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) @@ -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.3+20200331/google_sql1_beta4/SQLAdmin)** +* **[Hub](https://docs.rs/google-sql1_beta4/2.0.4+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.3+20200331/google_sql1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sql1_beta4/2.0.3+20200331/google_sql1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sql1_beta4/2.0.4+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. @@ -181,17 +181,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sql1_beta4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-sql1_beta4/2.0.3+20200331/google_sql1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sql1_beta4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20200331/google_sql1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-sql1_beta4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sql1_beta4/2.0.3+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.4+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.3+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.4+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.3+20200331/google_sql1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sql1_beta4/2.0.4+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 3e72994c63..6bcdfc35c1 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/sql1_beta4/src/client.rs b/gen/sql1_beta4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/sql1_beta4/src/client.rs +++ b/gen/sql1_beta4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/sql1_beta4/src/lib.rs b/gen/sql1_beta4/src/lib.rs index b897eb8949..027177630c 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.3+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). diff --git a/gen/sqladmin1_beta4-cli/Cargo.toml b/gen/sqladmin1_beta4-cli/Cargo.toml index af9a3b8806..76fb5abcfe 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.3+20210321" +version = "2.0.4+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.3+20210321" +version = "2.0.4+20210321" diff --git a/gen/sqladmin1_beta4-cli/README.md b/gen/sqladmin1_beta4-cli/README.md index 1698ecb978..d0ef7b785d 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.3*. +This documentation was generated from the *SQL Admin* API at revision *20210321*. The CLI is at version *2.0.4*. ```bash sqladmin1-beta4 [options] diff --git a/gen/sqladmin1_beta4-cli/mkdocs.yml b/gen/sqladmin1_beta4-cli/mkdocs.yml index b0acd756f7..bd8fbee389 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.3+20210321 +site_name: SQL Admin v2.0.4+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 5e69a1ded6..6865fc6ccd 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.3+20210321") + .version("2.0.4+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 936b2af9fa..f4219433f3 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.3+20210321" +version = "2.0.4+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.3+20210321" +documentation = "https://docs.rs/google-sqladmin1_beta4/2.0.4+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 b763ed693a..70e8319c52 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.3+20210321*, where *20210321* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210321/google_sqladmin1_beta4/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::BackupRun) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::BackupRunListCall) -* [databases](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::Database) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::Flag) - * [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::FlagListCall) +* [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) * instances - * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::Operation) - * [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::OperationListCall) + * [*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) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::SslCertListCall) -* [tiers](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::Tier) - * [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::TierListCall) -* [users](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::User) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/api::UserUpdateCall) + * [*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) @@ -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.3+20210321/google_sqladmin1_beta4/SQLAdmin)** +* **[Hub](https://docs.rs/google-sqladmin1_beta4/2.0.4+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.3+20210321/google_sqladmin1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sqladmin1_beta4/2.0.4+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. @@ -181,17 +181,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-sqladmin1_beta4/2.0.3+20210321/google_sqladmin1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sqladmin1_beta4/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210321/google_sqladmin1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-sqladmin1_beta4/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/2.0.3+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.4+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.3+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.4+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.3+20210321/google_sqladmin1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sqladmin1_beta4/2.0.4+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 1b55e4d314..b6f4b0804e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/sqladmin1_beta4/src/client.rs b/gen/sqladmin1_beta4/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/sqladmin1_beta4/src/client.rs +++ b/gen/sqladmin1_beta4/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/sqladmin1_beta4/src/lib.rs b/gen/sqladmin1_beta4/src/lib.rs index 936042ee7d..30fd417b15 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.3+20210321*, where *20210321* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). diff --git a/gen/storage1-cli/Cargo.toml b/gen/storage1-cli/Cargo.toml index e2a3dc9e37..e03a94712e 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/storage1-cli/README.md b/gen/storage1-cli/README.md index a03c285398..01304fe2ae 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.3*. +This documentation was generated from the *storage* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash storage1 [options] diff --git a/gen/storage1-cli/mkdocs.yml b/gen/storage1-cli/mkdocs.yml index e496d6e64e..036f26de95 100644 --- a/gen/storage1-cli/mkdocs.yml +++ b/gen/storage1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storage v2.0.3+20210330 +site_name: storage v2.0.4+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 50ef962cd0..2dd710f30e 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.3+20210330") + .version("2.0.4+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 3addc7bd9b..8dde8c5017 100644 --- a/gen/storage1/Cargo.toml +++ b/gen/storage1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storage1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-storage1/2.0.4+20210330" license = "MIT" keywords = ["storage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/storage1/README.md b/gen/storage1/README.md index 2a0fa9911a..ba14f6adc0 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.3+20210330*, where *20210330* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_storage1/Storage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/Storage) ... -* [bucket access controls](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControl) - * [*delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketAccessControlUpdateCall) -* [buckets](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::Bucket) - * [*delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketGetCall), [*get iam policy*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketInsertCall), [*list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketListCall), [*lock retention policy*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketLockRetentionPolicyCall), [*patch*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketPatchCall), [*set iam policy*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketTestIamPermissionCall) and [*update*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::BucketUpdateCall) -* [channels](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::Channel) - * [*stop*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ChannelStopCall) +* [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) * default object access controls - * [*delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::DefaultObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::DefaultObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::DefaultObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::DefaultObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::DefaultObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::DefaultObjectAccessControlUpdateCall) -* [notifications](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::Notification) - * [*delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::NotificationDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::NotificationGetCall), [*insert*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::NotificationInsertCall) and [*list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::NotificationListCall) -* [object access controls](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControl) - * [*delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectAccessControlUpdateCall) -* [objects](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::Object) - * [*compose*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectComposeCall), [*copy*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectCopyCall), [*delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectGetCall), [*get iam policy*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectInsertCall), [*list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectListCall), [*patch*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectPatchCall), [*rewrite*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectRewriteCall), [*set iam policy*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectTestIamPermissionCall), [*update*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectUpdateCall) and [*watch all*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectWatchAllCall) + * [*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) * projects - * [*hmac keys create*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ProjectHmacKeyCreateCall), [*hmac keys delete*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ProjectHmacKeyDeleteCall), [*hmac keys get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ProjectHmacKeyGetCall), [*hmac keys list*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ProjectHmacKeyListCall), [*hmac keys update*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ProjectHmacKeyUpdateCall) and [*service account get*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ProjectServiceAccountGetCall) + * [*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) Upload supported by ... -* [*insert objects*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectInsertCall) +* [*insert objects*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectInsertCall) Download supported by ... -* [*get objects*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectGetCall) +* [*get objects*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectGetCall) Subscription supported by ... -* [*list objects*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectListCall) -* [*watch all objects*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/api::ObjectWatchAllCall) +* [*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) @@ -50,17 +50,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/Storage)** +* **[Hub](https://docs.rs/google-storage1/2.0.4+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.3+20210330/google_storage1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/client::CallBuilder) -* **[Resources](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/client::Part)** + * **[Parts](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storage1/2.0.3+20210330/google_storage1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -187,17 +187,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +207,29 @@ Methods supporting uploads can do so using up to 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.3+20210330/google_storage1/client::Delegate) to the -[Method Builder](https://docs.rs/google-storage1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_storage1/client::RequestValue) and -[decodable](https://docs.rs/google-storage1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-storage1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_storage1/client::RequestValue) are moved +* [request values](https://docs.rs/google-storage1/2.0.4+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 1582655816..a75b49d463 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/storage1/src/client.rs b/gen/storage1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/storage1/src/client.rs +++ b/gen/storage1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/storage1/src/lib.rs b/gen/storage1/src/lib.rs index fdcf1a3792..78275ee7b2 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.3+20210330*, where *20210330* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *storage* *v1* API can be found at the //! [official documentation site](https://developers.google.com/storage/docs/json_api/). diff --git a/gen/storagetransfer1-cli/Cargo.toml b/gen/storagetransfer1-cli/Cargo.toml index ba99ee5dd7..8b6b068da2 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/storagetransfer1-cli/README.md b/gen/storagetransfer1-cli/README.md index f33f84e364..5354cd8830 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.3*. +This documentation was generated from the *storagetransfer* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash storagetransfer1 [options] diff --git a/gen/storagetransfer1-cli/mkdocs.yml b/gen/storagetransfer1-cli/mkdocs.yml index 62ad370bb6..eb130a43f3 100644 --- a/gen/storagetransfer1-cli/mkdocs.yml +++ b/gen/storagetransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storagetransfer v2.0.3+20210316 +site_name: storagetransfer v2.0.4+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 45b5540f94..3862c15975 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.3+20210316") + .version("2.0.4+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 08dbf9bda1..b73a4ebc54 100644 --- a/gen/storagetransfer1/Cargo.toml +++ b/gen/storagetransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storagetransfer1" -version = "2.0.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-storagetransfer1/2.0.4+20210316" license = "MIT" keywords = ["storagetransfer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/storagetransfer1/README.md b/gen/storagetransfer1/README.md index a6a4a43b3d..f5f980ece6 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.3+20210316*, where *20210316* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_storagetransfer1/Storagetransfer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/Storagetransfer) ... -* [google service accounts](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::GoogleServiceAccount) - * [*get*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::GoogleServiceAccountGetCall) -* [transfer jobs](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferJob) - * [*create*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferJobCreateCall), [*get*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferJobGetCall), [*list*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferJobListCall), [*patch*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferJobPatchCall) and [*run*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferJobRunCall) -* [transfer operations](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferOperation) - * [*cancel*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferOperationCancelCall), [*get*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferOperationGetCall), [*list*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferOperationListCall), [*pause*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferOperationPauseCall) and [*resume*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/api::TransferOperationResumeCall) +* [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) @@ -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.3+20210316/google_storagetransfer1/Storagetransfer)** +* **[Hub](https://docs.rs/google-storagetransfer1/2.0.4+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.3+20210316/google_storagetransfer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/client::Part)** + * **[Parts](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storagetransfer1/2.0.3+20210316/google_storagetransfer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-storagetransfer1/2.0.3+20210316/google_storagetransfer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-storagetransfer1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_storagetransfer1/client::RequestValue) and -[decodable](https://docs.rs/google-storagetransfer1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_storagetransfer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-storagetransfer1/2.0.4+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 497c7439f6..66dabccb63 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/storagetransfer1/src/client.rs b/gen/storagetransfer1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/storagetransfer1/src/client.rs +++ b/gen/storagetransfer1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/storagetransfer1/src/lib.rs b/gen/storagetransfer1/src/lib.rs index 7bf68c417f..ae3d8a467e 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.3+20210316*, where *20210316* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *storagetransfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/storage-transfer/docs). diff --git a/gen/sts1-cli/Cargo.toml b/gen/sts1-cli/Cargo.toml index d9ee3fea30..6f3333f44e 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/sts1-cli/README.md b/gen/sts1-cli/README.md index c04ba5a301..ac12acb18f 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.3*. +This documentation was generated from the *Cloud Security Token* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash sts1 [options] diff --git a/gen/sts1-cli/mkdocs.yml b/gen/sts1-cli/mkdocs.yml index 7bc15c2d79..d520e6d797 100644 --- a/gen/sts1-cli/mkdocs.yml +++ b/gen/sts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Security Token v2.0.3+20210326 +site_name: Cloud Security Token v2.0.4+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 eadc20ea9b..12ea513488 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.3+20210326") + .version("2.0.4+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 b02f198c55..e88beac292 100644 --- a/gen/sts1/Cargo.toml +++ b/gen/sts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sts1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-sts1/2.0.4+20210326" license = "MIT" keywords = ["sts", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sts1/README.md b/gen/sts1/README.md index 9e028caa3a..b9a0973e30 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.3+20210326*, where *20210326* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_sts1/CloudSecurityToken) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/CloudSecurityToken) ... -* [token](https://docs.rs/google-sts1/2.0.3+20210326/google_sts1/api::MethodTokenCall) +* [token](https://docs.rs/google-sts1/2.0.4+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.3+20210326/google_sts1/CloudSecurityToken)** +* **[Hub](https://docs.rs/google-sts1/2.0.4+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.3+20210326/google_sts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sts1/2.0.3+20210326/google_sts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sts1/2.0.3+20210326/google_sts1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sts1/2.0.3+20210326/google_sts1/client::Part)** + * **[Parts](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sts1/2.0.3+20210326/google_sts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sts1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-sts1/2.0.3+20210326/google_sts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sts1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_sts1/client::RequestValue) and -[decodable](https://docs.rs/google-sts1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sts1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_sts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sts1/2.0.4+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 a2014bda7e..fcb72c129f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/sts1/src/client.rs b/gen/sts1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/sts1/src/client.rs +++ b/gen/sts1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/sts1/src/lib.rs b/gen/sts1/src/lib.rs index 350f23970b..c45d3beed4 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.3+20210326*, where *20210326* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/surveys2-cli/Cargo.toml b/gen/surveys2-cli/Cargo.toml index b23901edde..fd2645f16f 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.3+20180508" +version = "2.0.4+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.3+20180508" +version = "2.0.4+20180508" diff --git a/gen/surveys2-cli/README.md b/gen/surveys2-cli/README.md index 1d80377eab..8866117c20 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.3*. +This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *2.0.4*. ```bash surveys2 [options] diff --git a/gen/surveys2-cli/mkdocs.yml b/gen/surveys2-cli/mkdocs.yml index e99570f8f5..3c628de09a 100644 --- a/gen/surveys2-cli/mkdocs.yml +++ b/gen/surveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Surveys v2.0.3+20180508 +site_name: Surveys v2.0.4+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 d508141b06..5368b9b763 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.3+20180508") + .version("2.0.4+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 af342dd611..1afa1b8961 100644 --- a/gen/surveys2/Cargo.toml +++ b/gen/surveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-surveys2" -version = "2.0.3+20180508" +version = "2.0.4+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.3+20180508" +documentation = "https://docs.rs/google-surveys2/2.0.4+20180508" license = "MIT" keywords = ["surveys", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/surveys2/README.md b/gen/surveys2/README.md index f8231b4ba3..de644cde8e 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.3+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/Surveys) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/Surveys) ... * results - * [*get*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::ResultGetCall) -* [surveys](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::Survey) - * [*delete*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyListCall), [*start*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::SurveyUpdateCall) + * [*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) Download supported by ... -* [*get results*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/api::ResultGetCall) +* [*get results*](https://docs.rs/google-surveys2/2.0.4+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.3+20180508/google_surveys2/Surveys)** +* **[Hub](https://docs.rs/google-surveys2/2.0.4+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.3+20180508/google_surveys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/client::Part)** + * **[Parts](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-surveys2/2.0.3+20180508/google_surveys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-surveys2/2.0.3+20180508/google_surveys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-surveys2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20180508/google_surveys2/client::RequestValue) and -[decodable](https://docs.rs/google-surveys2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-surveys2/2.0.3+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.4+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.3+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.4+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.3+20180508/google_surveys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-surveys2/2.0.4+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 65d191e347..d7c76a32fa 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/surveys2/src/client.rs b/gen/surveys2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/surveys2/src/client.rs +++ b/gen/surveys2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/surveys2/src/lib.rs b/gen/surveys2/src/lib.rs index 58b091a194..860d24791e 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.3+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2). //! # Features //! diff --git a/gen/tagmanager1-cli/Cargo.toml b/gen/tagmanager1-cli/Cargo.toml index e2d9e872bc..6a3ad46714 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/tagmanager1-cli/README.md b/gen/tagmanager1-cli/README.md index 4d4e177fff..75fa13cd62 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.3*. +This documentation was generated from the *Tag Manager* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash tagmanager1 [options] diff --git a/gen/tagmanager1-cli/mkdocs.yml b/gen/tagmanager1-cli/mkdocs.yml index 6536cdfb5d..06601ec04e 100644 --- a/gen/tagmanager1-cli/mkdocs.yml +++ b/gen/tagmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v2.0.3+20210330 +site_name: Tag Manager v2.0.4+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 1599db22c1..5804657548 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.3+20210330") + .version("2.0.4+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 94ca897ae2..9e0219fa55 100644 --- a/gen/tagmanager1/Cargo.toml +++ b/gen/tagmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager1" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-tagmanager1/2.0.4+20210330" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tagmanager1/README.md b/gen/tagmanager1/README.md index b2e3b16797..5c6d9565c1 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.3+20210330*, where *20210330* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_tagmanager1/TagManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/TagManager) ... -* [accounts](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::Account) - * [*containers create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerEnvironmentListCall), [*containers environments update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerEnvironmentUpdateCall), [*containers folders create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerFolderCreateCall), [*containers folders delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerFolderDeleteCall), [*containers folders entities list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerFolderEntityListCall), [*containers folders get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerFolderGetCall), [*containers folders list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerFolderListCall), [*containers folders update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerFolderUpdateCall), [*containers get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerListCall), [*containers move_folders update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerMoveFolderUpdateCall), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerReauthorizeEnvironmentUpdateCall), [*containers tags create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTagCreateCall), [*containers tags delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTagDeleteCall), [*containers tags get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTagGetCall), [*containers tags list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTagListCall), [*containers tags update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTagUpdateCall), [*containers triggers create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTriggerCreateCall), [*containers triggers delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTriggerDeleteCall), [*containers triggers get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTriggerGetCall), [*containers triggers list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTriggerListCall), [*containers triggers update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerTriggerUpdateCall), [*containers update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerUpdateCall), [*containers variables create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVariableCreateCall), [*containers variables delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVariableDeleteCall), [*containers variables get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVariableGetCall), [*containers variables list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVariableListCall), [*containers variables update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVariableUpdateCall), [*containers versions create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionCreateCall), [*containers versions delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionGetCall), [*containers versions list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionListCall), [*containers versions publish*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionPublishCall), [*containers versions restore*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionRestoreCall), [*containers versions undelete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountContainerVersionUpdateCall), [*get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountListCall), [*permissions create*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountPermissionCreateCall), [*permissions delete*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountPermissionDeleteCall), [*permissions get*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountPermissionGetCall), [*permissions list*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountPermissionListCall), [*permissions update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountPermissionUpdateCall) and [*update*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/api::AccountUpdateCall) +* [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) @@ -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.3+20210330/google_tagmanager1/TagManager)** +* **[Hub](https://docs.rs/google-tagmanager1/2.0.4+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.3+20210330/google_tagmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/client::Part)** + * **[Parts](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager1/2.0.3+20210330/google_tagmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -183,17 +183,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +203,29 @@ Methods supporting uploads can do so using up to 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.3+20210330/google_tagmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tagmanager1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_tagmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-tagmanager1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/2.0.3+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.4+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.3+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.4+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.3+20210330/google_tagmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tagmanager1/2.0.4+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 9a531ab1b5..d5f0d0b137 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/tagmanager1/src/client.rs b/gen/tagmanager1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/tagmanager1/src/client.rs +++ b/gen/tagmanager1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/tagmanager1/src/lib.rs b/gen/tagmanager1/src/lib.rs index f4f31f0575..6cea112ed0 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.3+20210330*, where *20210330* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Tag Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager). diff --git a/gen/tagmanager2-cli/Cargo.toml b/gen/tagmanager2-cli/Cargo.toml index ab70456e3e..0d6e93216c 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/tagmanager2-cli/README.md b/gen/tagmanager2-cli/README.md index 525fde8371..64cd0ec3dc 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.3*. +This documentation was generated from the *Tag Manager* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash tagmanager2 [options] diff --git a/gen/tagmanager2-cli/mkdocs.yml b/gen/tagmanager2-cli/mkdocs.yml index 618fc06119..cea315ab61 100644 --- a/gen/tagmanager2-cli/mkdocs.yml +++ b/gen/tagmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v2.0.3+20210330 +site_name: Tag Manager v2.0.4+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 fb192e5f81..fb4932eb76 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.3+20210330") + .version("2.0.4+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 b888c8731c..c5d4df6790 100644 --- a/gen/tagmanager2/Cargo.toml +++ b/gen/tagmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager2" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-tagmanager2/2.0.4+20210330" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tagmanager2/README.md b/gen/tagmanager2/README.md index d6bb46752d..d28a361c83 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.3+20210330*, where *20210330* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_tagmanager2/TagManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/TagManager) ... -* [accounts](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::Account) - * [*containers create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerEnvironmentListCall), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerEnvironmentReauthorizeCall), [*containers environments update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerEnvironmentUpdateCall), [*containers get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerListCall), [*containers update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerUpdateCall), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionHeaderLatestCall), [*containers version_headers list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionHeaderListCall), [*containers versions delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionGetCall), [*containers versions live*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionLiveCall), [*containers versions publish*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionPublishCall), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionSetLatestCall), [*containers versions undelete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerVersionUpdateCall), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableCreateCall), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableDeleteCall), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableListCall), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableRevertCall), [*containers workspaces create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceCreateCall), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceCreateVersionCall), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceDeleteCall), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderCreateCall), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderDeleteCall), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderEntityCall), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderGetCall), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderListCall), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderMoveEntitiesToFolderCall), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderRevertCall), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderUpdateCall), [*containers workspaces get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceGetCall), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceGetStatuCall), [*containers workspaces list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceListCall), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceQuickPreviewCall), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceResolveConflictCall), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceSyncCall), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagCreateCall), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagDeleteCall), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagGetCall), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagListCall), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagRevertCall), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagUpdateCall), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateCreateCall), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateDeleteCall), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateGetCall), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateListCall), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateRevertCall), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateUpdateCall), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerCreateCall), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerDeleteCall), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerGetCall), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerListCall), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerRevertCall), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerUpdateCall), [*containers workspaces update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceUpdateCall), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableCreateCall), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableDeleteCall), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableGetCall), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableListCall), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableRevertCall), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableUpdateCall), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneCreateCall), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneDeleteCall), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneGetCall), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneListCall), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneRevertCall), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneUpdateCall), [*get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountListCall), [*update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountUpdateCall), [*user_permissions create*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountUserPermissionCreateCall), [*user_permissions delete*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountUserPermissionDeleteCall), [*user_permissions get*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountUserPermissionGetCall), [*user_permissions list*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountUserPermissionListCall) and [*user_permissions update*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/api::AccountUserPermissionUpdateCall) +* [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) @@ -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.3+20210330/google_tagmanager2/TagManager)** +* **[Hub](https://docs.rs/google-tagmanager2/2.0.4+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.3+20210330/google_tagmanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/client::Part)** + * **[Parts](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager2/2.0.3+20210330/google_tagmanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -214,17 +214,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +234,29 @@ Methods supporting uploads can do so using up to 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.3+20210330/google_tagmanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-tagmanager2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_tagmanager2/client::RequestValue) and -[decodable](https://docs.rs/google-tagmanager2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tagmanager2/2.0.3+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.4+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.3+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.4+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.3+20210330/google_tagmanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-tagmanager2/2.0.4+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 8ddd2719b5..9b1acbbc52 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/tagmanager2/src/client.rs b/gen/tagmanager2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/tagmanager2/src/client.rs +++ b/gen/tagmanager2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/tagmanager2/src/lib.rs b/gen/tagmanager2/src/lib.rs index 68c66956f6..1bd36a5c7e 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.3+20210330*, where *20210330* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Tag Manager* *v2* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager). diff --git a/gen/taskqueue1_beta2-cli/Cargo.toml b/gen/taskqueue1_beta2-cli/Cargo.toml index 66b59bd427..ac98291e6c 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.3+20160428" +version = "2.0.4+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.3+20160428" +version = "2.0.4+20160428" diff --git a/gen/taskqueue1_beta2-cli/README.md b/gen/taskqueue1_beta2-cli/README.md index 4faed46356..f8d845c9f0 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.3*. +This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *2.0.4*. ```bash taskqueue1-beta2 [options] diff --git a/gen/taskqueue1_beta2-cli/mkdocs.yml b/gen/taskqueue1_beta2-cli/mkdocs.yml index 6114e39582..d5dbe4a911 100644 --- a/gen/taskqueue1_beta2-cli/mkdocs.yml +++ b/gen/taskqueue1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: taskqueue v2.0.3+20160428 +site_name: taskqueue v2.0.4+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 34b77618f9..eb508ca78c 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.3+20160428") + .version("2.0.4+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 3deb612ed3..8c24a7ff3a 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.3+20160428" +version = "2.0.4+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.3+20160428" +documentation = "https://docs.rs/google-taskqueue1_beta2/2.0.4+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 8a49cd20ff..36155c0143 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.3+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20160428/google_taskqueue1_beta2/Taskqueue) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/Taskqueue) ... * taskqueues - * [*get*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskqueueGetCall) -* [tasks](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::Task) - * [*delete*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskDeleteCall), [*get*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskGetCall), [*insert*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskInsertCall), [*lease*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskLeaseCall), [*list*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskListCall), [*patch*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskPatchCall) and [*update*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/api::TaskUpdateCall) + * [*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) @@ -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.3+20160428/google_taskqueue1_beta2/Taskqueue)** +* **[Hub](https://docs.rs/google-taskqueue1_beta2/2.0.4+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.3+20160428/google_taskqueue1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-taskqueue1_beta2/2.0.4+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. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-taskqueue1_beta2/2.0.3+20160428/google_taskqueue1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-taskqueue1_beta2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20160428/google_taskqueue1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-taskqueue1_beta2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/2.0.3+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.4+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.3+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.4+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.3+20160428/google_taskqueue1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-taskqueue1_beta2/2.0.4+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 ec0c2e1c14..6e47c8148e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/taskqueue1_beta2/src/client.rs b/gen/taskqueue1_beta2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/taskqueue1_beta2/src/client.rs +++ b/gen/taskqueue1_beta2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/taskqueue1_beta2/src/lib.rs b/gen/taskqueue1_beta2/src/lib.rs index c79b4af065..6e2bec3de4 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.3+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *taskqueue* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). diff --git a/gen/tasks1-cli/Cargo.toml b/gen/tasks1-cli/Cargo.toml index db1b09a3e2..5ebc3ddfea 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/tasks1-cli/README.md b/gen/tasks1-cli/README.md index dcb9a97867..e16a02f564 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.3*. +This documentation was generated from the *Tasks* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash tasks1 [options] diff --git a/gen/tasks1-cli/mkdocs.yml b/gen/tasks1-cli/mkdocs.yml index f3936d1adf..d781c14013 100644 --- a/gen/tasks1-cli/mkdocs.yml +++ b/gen/tasks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tasks v2.0.3+20210329 +site_name: Tasks v2.0.4+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 e0fd443017..ab18392ac8 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.3+20210329") + .version("2.0.4+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 1f42211d2a..4f39de1c88 100644 --- a/gen/tasks1/Cargo.toml +++ b/gen/tasks1/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-tasks1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-tasks1/2.0.4+20210329" license = "MIT" keywords = ["tasks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tasks1/README.md b/gen/tasks1/README.md index 1b882d9db8..e187cd0b50 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.3+20210329*, where *20210329* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/TasksHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/TasksHub) ... * tasklists - * [*delete*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TasklistDeleteCall), [*get*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TasklistGetCall), [*insert*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TasklistInsertCall), [*list*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TasklistListCall), [*patch*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TasklistPatchCall) and [*update*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TasklistUpdateCall) -* [tasks](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::Task) - * [*clear*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskClearCall), [*delete*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskDeleteCall), [*get*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskGetCall), [*insert*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskInsertCall), [*list*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskListCall), [*move*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskMoveCall), [*patch*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskPatchCall) and [*update*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/api::TaskUpdateCall) + * [*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) @@ -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.3+20210329/google_tasks1/TasksHub)** +* **[Hub](https://docs.rs/google-tasks1/2.0.4+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.3+20210329/google_tasks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/client::Part)** + * **[Parts](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tasks1/2.0.3+20210329/google_tasks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-tasks1/2.0.3+20210329/google_tasks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tasks1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_tasks1/client::RequestValue) and -[decodable](https://docs.rs/google-tasks1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tasks1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_tasks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tasks1/2.0.4+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 5f39d285a4..138d423b3e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/tasks1/src/client.rs b/gen/tasks1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/tasks1/src/client.rs +++ b/gen/tasks1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/tasks1/src/lib.rs b/gen/tasks1/src/lib.rs index 90ec966bee..9c9eac78b3 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.3+20210329*, where *20210329* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/tasks1). //! # Features //! diff --git a/gen/testing1-cli/Cargo.toml b/gen/testing1-cli/Cargo.toml index a6bef3a2d0..77fd2a575c 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/testing1-cli/README.md b/gen/testing1-cli/README.md index 06b77ee0dd..64aa3b3faf 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.3*. +This documentation was generated from the *testing* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash testing1 [options] diff --git a/gen/testing1-cli/mkdocs.yml b/gen/testing1-cli/mkdocs.yml index 2610fe57ab..88ce39ed8b 100644 --- a/gen/testing1-cli/mkdocs.yml +++ b/gen/testing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: testing v2.0.3+20210326 +site_name: testing v2.0.4+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 6421f30d68..410067dd41 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.3+20210326") + .version("2.0.4+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 b0cb6d5e4e..af9da12886 100644 --- a/gen/testing1/Cargo.toml +++ b/gen/testing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-testing1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-testing1/2.0.4+20210326" license = "MIT" keywords = ["testing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/testing1/README.md b/gen/testing1/README.md index e0641a0fcd..7da203e895 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.3+20210326*, where *20210326* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_testing1/Testing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/Testing) ... * application detail service - * [*get apk details*](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/api::ApplicationDetailServiceGetApkDetailCall) + * [*get apk details*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::ApplicationDetailServiceGetApkDetailCall) * projects - * [*test matrices cancel*](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/api::ProjectTestMatriceCancelCall), [*test matrices create*](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/api::ProjectTestMatriceCreateCall) and [*test matrices get*](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/api::ProjectTestMatriceGetCall) -* [test environment catalog](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/api::TestEnvironmentCatalog) - * [*get*](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/api::TestEnvironmentCatalogGetCall) + * [*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) @@ -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.3+20210326/google_testing1/Testing)** +* **[Hub](https://docs.rs/google-testing1/2.0.4+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.3+20210326/google_testing1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/client::CallBuilder) -* **[Resources](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/client::Part)** + * **[Parts](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-testing1/2.0.3+20210326/google_testing1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-testing1/2.0.3+20210326/google_testing1/client::Delegate) to the -[Method Builder](https://docs.rs/google-testing1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_testing1/client::RequestValue) and -[decodable](https://docs.rs/google-testing1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-testing1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_testing1/client::RequestValue) are moved +* [request values](https://docs.rs/google-testing1/2.0.4+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 1a9e0a1782..60fb691c00 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/testing1/src/client.rs b/gen/testing1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/testing1/src/client.rs +++ b/gen/testing1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/testing1/src/lib.rs b/gen/testing1/src/lib.rs index eb760e7a42..b20b11337d 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.3+20210326*, where *20210326* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *testing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-test-lab/). diff --git a/gen/texttospeech1-cli/Cargo.toml b/gen/texttospeech1-cli/Cargo.toml index 5331d2ae4d..806f4e80db 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/texttospeech1-cli/README.md b/gen/texttospeech1-cli/README.md index b336792c62..aa4576bb34 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.3*. +This documentation was generated from the *Texttospeech* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash texttospeech1 [options] diff --git a/gen/texttospeech1-cli/mkdocs.yml b/gen/texttospeech1-cli/mkdocs.yml index 6b03a3d5b9..76a13617f1 100644 --- a/gen/texttospeech1-cli/mkdocs.yml +++ b/gen/texttospeech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Texttospeech v2.0.3+20210326 +site_name: Texttospeech v2.0.4+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 4dc0f54f85..7cee2fcfd2 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.3+20210326") + .version("2.0.4+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 73b346f12f..7a25320324 100644 --- a/gen/texttospeech1/Cargo.toml +++ b/gen/texttospeech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-texttospeech1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-texttospeech1/2.0.4+20210326" license = "MIT" keywords = ["texttospeech", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/texttospeech1/README.md b/gen/texttospeech1/README.md index a86c6484a4..1dd8b233da 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.3+20210326*, where *20210326* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_texttospeech1/Texttospeech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/Texttospeech) ... * text - * [*synthesize*](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/api::TextSynthesizeCall) -* [voices](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/api::Voice) - * [*list*](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/api::VoiceListCall) + * [*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) @@ -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.3+20210326/google_texttospeech1/Texttospeech)** +* **[Hub](https://docs.rs/google-texttospeech1/2.0.4+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.3+20210326/google_texttospeech1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/client::CallBuilder) -* **[Resources](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/client::Part)** + * **[Parts](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-texttospeech1/2.0.3+20210326/google_texttospeech1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-texttospeech1/2.0.3+20210326/google_texttospeech1/client::Delegate) to the -[Method Builder](https://docs.rs/google-texttospeech1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_texttospeech1/client::RequestValue) and -[decodable](https://docs.rs/google-texttospeech1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-texttospeech1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_texttospeech1/client::RequestValue) are moved +* [request values](https://docs.rs/google-texttospeech1/2.0.4+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 28d2d7cf72..c82a94d7b5 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/texttospeech1/src/client.rs b/gen/texttospeech1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/texttospeech1/src/client.rs +++ b/gen/texttospeech1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/texttospeech1/src/lib.rs b/gen/texttospeech1/src/lib.rs index 7c37897158..4440c91d04 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.3+20210326*, where *20210326* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Texttospeech* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/text-to-speech/). diff --git a/gen/tpu1-cli/Cargo.toml b/gen/tpu1-cli/Cargo.toml index dba7f204e2..1c0df11677 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.3+20210217" +version = "2.0.4+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.3+20210217" +version = "2.0.4+20210217" diff --git a/gen/tpu1-cli/README.md b/gen/tpu1-cli/README.md index 4dbbbf9552..087e39222f 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.3*. +This documentation was generated from the *TPU* API at revision *20210217*. The CLI is at version *2.0.4*. ```bash tpu1 [options] diff --git a/gen/tpu1-cli/mkdocs.yml b/gen/tpu1-cli/mkdocs.yml index dd0990016a..1f4861d882 100644 --- a/gen/tpu1-cli/mkdocs.yml +++ b/gen/tpu1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v2.0.3+20210217 +site_name: TPU v2.0.4+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 b5148680c2..941b15f1d9 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.3+20210217") + .version("2.0.4+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 a2eb0bc228..c41d789160 100644 --- a/gen/tpu1/Cargo.toml +++ b/gen/tpu1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1" -version = "2.0.3+20210217" +version = "2.0.4+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.3+20210217" +documentation = "https://docs.rs/google-tpu1/2.0.4+20210217" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tpu1/README.md b/gen/tpu1/README.md index 60260e9557..50e151245c 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.3+20210217*, where *20210217* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210217/google_tpu1/TPU) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/TPU) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/api::ProjectLocationTensorflowVersionListCall) + * [*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) @@ -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.3+20210217/google_tpu1/TPU)** +* **[Hub](https://docs.rs/google-tpu1/2.0.4+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.3+20210217/google_tpu1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/client::Part)** + * **[Parts](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1/2.0.3+20210217/google_tpu1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-tpu1/2.0.3+20210217/google_tpu1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tpu1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210217/google_tpu1/client::RequestValue) and -[decodable](https://docs.rs/google-tpu1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tpu1/2.0.3+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.4+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.3+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.4+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.3+20210217/google_tpu1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tpu1/2.0.4+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 90d1344208..b676cf2c59 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/tpu1/src/client.rs b/gen/tpu1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/tpu1/src/client.rs +++ b/gen/tpu1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/tpu1/src/lib.rs b/gen/tpu1/src/lib.rs index 7b1f481b27..eac3533c2c 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.3+20210217*, where *20210217* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *TPU* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). diff --git a/gen/tpu1_alpha1-cli/Cargo.toml b/gen/tpu1_alpha1-cli/Cargo.toml index 049c72fef4..eeec282c30 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.3+20210217" +version = "2.0.4+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.3+20210217" +version = "2.0.4+20210217" diff --git a/gen/tpu1_alpha1-cli/README.md b/gen/tpu1_alpha1-cli/README.md index 01942028d9..db4a829f50 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.3*. +This documentation was generated from the *TPU* API at revision *20210217*. The CLI is at version *2.0.4*. ```bash tpu1-alpha1 [options] diff --git a/gen/tpu1_alpha1-cli/mkdocs.yml b/gen/tpu1_alpha1-cli/mkdocs.yml index 05096316bf..7b5130f8be 100644 --- a/gen/tpu1_alpha1-cli/mkdocs.yml +++ b/gen/tpu1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v2.0.3+20210217 +site_name: TPU v2.0.4+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 c59be16f97..5798422dff 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.3+20210217") + .version("2.0.4+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 8cd9506e05..254cc5bc85 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.3+20210217" +version = "2.0.4+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.3+20210217" +documentation = "https://docs.rs/google-tpu1_alpha1/2.0.4+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 a8e7a1487a..b6cf9fb96d 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.3+20210217*, where *20210217* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210217/google_tpu1_alpha1/TPU) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/TPU) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionListCall) + * [*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) @@ -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.3+20210217/google_tpu1_alpha1/TPU)** +* **[Hub](https://docs.rs/google-tpu1_alpha1/2.0.4+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.3+20210217/google_tpu1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tpu1_alpha1/2.0.4+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. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-tpu1_alpha1/2.0.3+20210217/google_tpu1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tpu1_alpha1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210217/google_tpu1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-tpu1_alpha1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tpu1_alpha1/2.0.3+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.4+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.3+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.4+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.3+20210217/google_tpu1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tpu1_alpha1/2.0.4+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 5daa73e55d..1058f1c6eb 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/tpu1_alpha1/src/client.rs b/gen/tpu1_alpha1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/tpu1_alpha1/src/client.rs +++ b/gen/tpu1_alpha1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/tpu1_alpha1/src/lib.rs b/gen/tpu1_alpha1/src/lib.rs index 2d8033d4ce..a60daf2b5f 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.3+20210217*, where *20210217* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *TPU* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). diff --git a/gen/transcoder1_beta1-cli/Cargo.toml b/gen/transcoder1_beta1-cli/Cargo.toml index a2983c2286..25b91403dc 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.3+20210323" +version = "2.0.4+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.3+20210323" +version = "2.0.4+20210323" diff --git a/gen/transcoder1_beta1-cli/README.md b/gen/transcoder1_beta1-cli/README.md index 53c9b5ebde..7126f5f78a 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.3*. +This documentation was generated from the *Transcoder* API at revision *20210323*. The CLI is at version *2.0.4*. ```bash transcoder1-beta1 [options] diff --git a/gen/transcoder1_beta1-cli/mkdocs.yml b/gen/transcoder1_beta1-cli/mkdocs.yml index 97ca2f5f35..b0f0cfcc8d 100644 --- a/gen/transcoder1_beta1-cli/mkdocs.yml +++ b/gen/transcoder1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Transcoder v2.0.3+20210323 +site_name: Transcoder v2.0.4+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 82638ad793..8ea9536b77 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.3+20210323") + .version("2.0.4+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 d681c50ede..20649e7ab7 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.3+20210323" +version = "2.0.4+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.3+20210323" +documentation = "https://docs.rs/google-transcoder1_beta1/2.0.4+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 cc20e8fc20..b72f1a3236 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.3+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210323/google_transcoder1_beta1/Transcoder) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/Transcoder) ... * projects - * [*locations job templates create*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/api::ProjectLocationJobListCall) + * [*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) @@ -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.3+20210323/google_transcoder1_beta1/Transcoder)** +* **[Hub](https://docs.rs/google-transcoder1_beta1/2.0.4+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.3+20210323/google_transcoder1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-transcoder1_beta1/2.0.4+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. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-transcoder1_beta1/2.0.3+20210323/google_transcoder1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-transcoder1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210323/google_transcoder1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-transcoder1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-transcoder1_beta1/2.0.3+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.4+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.3+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.4+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.3+20210323/google_transcoder1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-transcoder1_beta1/2.0.4+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 96279e4df9..98ae67cfda 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/transcoder1_beta1/src/client.rs b/gen/transcoder1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/transcoder1_beta1/src/client.rs +++ b/gen/transcoder1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/transcoder1_beta1/src/lib.rs b/gen/transcoder1_beta1/src/lib.rs index 4736a83957..d69d26dd3b 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.3+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Transcoder* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/transcoder/docs/). diff --git a/gen/translate2-cli/Cargo.toml b/gen/translate2-cli/Cargo.toml index 9389d8efed..129cbaa785 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.3+20170525" +version = "2.0.4+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.3+20170525" +version = "2.0.4+20170525" diff --git a/gen/translate2-cli/README.md b/gen/translate2-cli/README.md index 4a2f210f7c..22ed097c5c 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.3*. +This documentation was generated from the *Translate* API at revision *20170525*. The CLI is at version *2.0.4*. ```bash translate2 [options] diff --git a/gen/translate2-cli/mkdocs.yml b/gen/translate2-cli/mkdocs.yml index 4fa89f6d7d..3fbfade7ea 100644 --- a/gen/translate2-cli/mkdocs.yml +++ b/gen/translate2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v2.0.3+20170525 +site_name: Translate v2.0.4+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 a3dd1aebc1..36fd72567d 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.3+20170525") + .version("2.0.4+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 4eea997e81..a109157cbd 100644 --- a/gen/translate2/Cargo.toml +++ b/gen/translate2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate2" -version = "2.0.3+20170525" +version = "2.0.4+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.3+20170525" +documentation = "https://docs.rs/google-translate2/2.0.4+20170525" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/translate2/README.md b/gen/translate2/README.md index 1d8977b089..b5c5278909 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.3+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20170525/google_translate2/Translate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/Translate) ... * detections - * [*detect*](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/api::DetectionDetectCall) and [*list*](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/api::DetectionListCall) + * [*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) * languages - * [*list*](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/api::LanguageListCall) + * [*list*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/api::LanguageListCall) * translations - * [*list*](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/api::TranslationListCall) and [*translate*](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/api::TranslationTranslateCall) + * [*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) @@ -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.3+20170525/google_translate2/Translate)** +* **[Hub](https://docs.rs/google-translate2/2.0.4+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.3+20170525/google_translate2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/client::CallBuilder) -* **[Resources](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/client::Part)** + * **[Parts](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate2/2.0.3+20170525/google_translate2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-translate2/2.0.3+20170525/google_translate2/client::Delegate) to the -[Method Builder](https://docs.rs/google-translate2/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20170525/google_translate2/client::RequestValue) and -[decodable](https://docs.rs/google-translate2/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-translate2/2.0.3+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.4+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.3+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.4+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.3+20170525/google_translate2/client::RequestValue) are moved +* [request values](https://docs.rs/google-translate2/2.0.4+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 2f555e3de1..695205670c 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/translate2/src/client.rs b/gen/translate2/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/translate2/src/client.rs +++ b/gen/translate2/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/translate2/src/lib.rs b/gen/translate2/src/lib.rs index ec3321d6b6..a81a6bc1c5 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.3+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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). diff --git a/gen/translate3-cli/Cargo.toml b/gen/translate3-cli/Cargo.toml index f54c4af464..a6507815cf 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.3+20210312" +version = "2.0.4+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.3+20210312" +version = "2.0.4+20210312" diff --git a/gen/translate3-cli/README.md b/gen/translate3-cli/README.md index 701ea14b36..a798081db4 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.3*. +This documentation was generated from the *Translate* API at revision *20210312*. The CLI is at version *2.0.4*. ```bash translate3 [options] diff --git a/gen/translate3-cli/mkdocs.yml b/gen/translate3-cli/mkdocs.yml index 219600e44c..26d31617db 100644 --- a/gen/translate3-cli/mkdocs.yml +++ b/gen/translate3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v2.0.3+20210312 +site_name: Translate v2.0.4+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 2ebe9e1aaf..8dfd1136f9 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.3+20210312") + .version("2.0.4+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 767fc1dfb5..0afea2f5f2 100644 --- a/gen/translate3/Cargo.toml +++ b/gen/translate3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate3" -version = "2.0.3+20210312" +version = "2.0.4+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.3+20210312" +documentation = "https://docs.rs/google-translate3/2.0.4+20210312" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/translate3/README.md b/gen/translate3/README.md index dda99fcdb9..ec83e72704 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.3+20210312*, where *20210312* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210312/google_translate3/Translate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/Translate) ... * projects - * [*detect language*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectDetectLanguageCall), [*get supported languages*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectGetSupportedLanguageCall), [*locations batch translate text*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationBatchTranslateTextCall), [*locations detect language*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationDetectLanguageCall), [*locations get*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationGetCall), [*locations get supported languages*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationGetSupportedLanguageCall), [*locations glossaries create*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationGlossaryCreateCall), [*locations glossaries delete*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationGlossaryDeleteCall), [*locations glossaries get*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationGlossaryGetCall), [*locations glossaries list*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationGlossaryListCall), [*locations list*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationOperationWaitCall), [*locations translate text*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectLocationTranslateTextCall) and [*translate text*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/api::ProjectTranslateTextCall) + * [*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) @@ -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.3+20210312/google_translate3/Translate)** +* **[Hub](https://docs.rs/google-translate3/2.0.4+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.3+20210312/google_translate3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/client::CallBuilder) -* **[Resources](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/client::Part)** + * **[Parts](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate3/2.0.3+20210312/google_translate3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-translate3/2.0.3+20210312/google_translate3/client::Delegate) to the -[Method Builder](https://docs.rs/google-translate3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210312/google_translate3/client::RequestValue) and -[decodable](https://docs.rs/google-translate3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-translate3/2.0.3+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.4+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.3+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.4+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.3+20210312/google_translate3/client::RequestValue) are moved +* [request values](https://docs.rs/google-translate3/2.0.4+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 eb3d4f3a37..2c23a9fd68 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/translate3/src/client.rs b/gen/translate3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/translate3/src/client.rs +++ b/gen/translate3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/translate3/src/lib.rs b/gen/translate3/src/lib.rs index b5cbbc47d0..e38d1d0708 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.3+20210312*, where *20210312* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Translate* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/translate/docs/quickstarts). diff --git a/gen/urlshortener1-cli/Cargo.toml b/gen/urlshortener1-cli/Cargo.toml index 8626c9b31c..0dd1c3c9aa 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.3+20150519" +version = "2.0.4+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.3+20150519" +version = "2.0.4+20150519" diff --git a/gen/urlshortener1-cli/README.md b/gen/urlshortener1-cli/README.md index bda1876b6c..e0c5567681 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.3*. +This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *2.0.4*. ```bash urlshortener1 [options] diff --git a/gen/urlshortener1-cli/mkdocs.yml b/gen/urlshortener1-cli/mkdocs.yml index c266e41934..94d827c7ff 100644 --- a/gen/urlshortener1-cli/mkdocs.yml +++ b/gen/urlshortener1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: urlshortener v2.0.3+20150519 +site_name: urlshortener v2.0.4+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 7a782d04ce..0f0835f9e9 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.3+20150519") + .version("2.0.4+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 d5f35b7991..d24c201cc3 100644 --- a/gen/urlshortener1/Cargo.toml +++ b/gen/urlshortener1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-urlshortener1" -version = "2.0.3+20150519" +version = "2.0.4+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.3+20150519" +documentation = "https://docs.rs/google-urlshortener1/2.0.4+20150519" license = "MIT" keywords = ["urlshortener", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/urlshortener1/README.md b/gen/urlshortener1/README.md index fbcb3259c5..6594f1250d 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.3+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20150519/google_urlshortener1/Urlshortener) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/Urlshortener) ... -* [url](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/api::Url) - * [*get*](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/api::UrlGetCall), [*insert*](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/api::UrlInsertCall) and [*list*](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/api::UrlListCall) +* [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) @@ -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.3+20150519/google_urlshortener1/Urlshortener)** +* **[Hub](https://docs.rs/google-urlshortener1/2.0.4+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.3+20150519/google_urlshortener1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/client::CallBuilder) -* **[Resources](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/client::Part)** + * **[Parts](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-urlshortener1/2.0.3+20150519/google_urlshortener1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-urlshortener1/2.0.3+20150519/google_urlshortener1/client::Delegate) to the -[Method Builder](https://docs.rs/google-urlshortener1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20150519/google_urlshortener1/client::RequestValue) and -[decodable](https://docs.rs/google-urlshortener1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/2.0.3+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.4+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.3+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.4+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.3+20150519/google_urlshortener1/client::RequestValue) are moved +* [request values](https://docs.rs/google-urlshortener1/2.0.4+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 ce35d3e034..819c01d4e3 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/urlshortener1/src/client.rs b/gen/urlshortener1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/urlshortener1/src/client.rs +++ b/gen/urlshortener1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/urlshortener1/src/lib.rs b/gen/urlshortener1/src/lib.rs index c7eac89f02..2ba7dbd382 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.3+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *urlshortener* *v1* API can be found at the //! [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). diff --git a/gen/vault1-cli/Cargo.toml b/gen/vault1-cli/Cargo.toml index d17a1e3a4e..b7745a46fd 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/vault1-cli/README.md b/gen/vault1-cli/README.md index be3e5bb3c6..2fe9341334 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.3*. +This documentation was generated from the *Vault* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash vault1 [options] diff --git a/gen/vault1-cli/mkdocs.yml b/gen/vault1-cli/mkdocs.yml index 3c49874018..57cc342462 100644 --- a/gen/vault1-cli/mkdocs.yml +++ b/gen/vault1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vault v2.0.3+20210316 +site_name: Vault v2.0.4+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 1387bbf5c3..991daa472f 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.3+20210316") + .version("2.0.4+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 8aca36b240..a343893a68 100644 --- a/gen/vault1/Cargo.toml +++ b/gen/vault1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vault1" -version = "2.0.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-vault1/2.0.4+20210316" license = "MIT" keywords = ["vault", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/vault1/README.md b/gen/vault1/README.md index c204422625..fa93508ce0 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.3+20210316*, where *20210316* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_vault1/Vault) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/Vault) ... -* [matters](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::Matter) - * [*add permissions*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterAddPermissionCall), [*close*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterCloseCall), [*count*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterCountCall), [*create*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterCreateCall), [*delete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterDeleteCall), [*exports create*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterExportCreateCall), [*exports delete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterExportDeleteCall), [*exports get*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterExportGetCall), [*exports list*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterExportListCall), [*get*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterGetCall), [*holds accounts create*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldAccountCreateCall), [*holds accounts delete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldAccountDeleteCall), [*holds accounts list*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldAccountListCall), [*holds add held accounts*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldAddHeldAccountCall), [*holds create*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldCreateCall), [*holds delete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldDeleteCall), [*holds get*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldGetCall), [*holds list*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldListCall), [*holds remove held accounts*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldRemoveHeldAccountCall), [*holds update*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterHoldUpdateCall), [*list*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterListCall), [*remove permissions*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterRemovePermissionCall), [*reopen*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterReopenCall), [*saved queries create*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterSavedQueryCreateCall), [*saved queries delete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterSavedQueryDeleteCall), [*saved queries get*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterSavedQueryGetCall), [*saved queries list*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterSavedQueryListCall), [*undelete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterUndeleteCall) and [*update*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::MatterUpdateCall) -* [operations](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::Operation) - * [*cancel*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::OperationGetCall) and [*list*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/api::OperationListCall) +* [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) @@ -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.3+20210316/google_vault1/Vault)** +* **[Hub](https://docs.rs/google-vault1/2.0.4+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.3+20210316/google_vault1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/client::Part)** + * **[Parts](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vault1/2.0.3+20210316/google_vault1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -159,17 +159,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-vault1/2.0.3+20210316/google_vault1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vault1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_vault1/client::RequestValue) and -[decodable](https://docs.rs/google-vault1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vault1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_vault1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vault1/2.0.4+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 8d6d8fed43..1dc956a2eb 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/vault1/src/client.rs b/gen/vault1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/vault1/src/client.rs +++ b/gen/vault1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/vault1/src/lib.rs b/gen/vault1/src/lib.rs index c3af04cac6..2e64955d4b 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.3+20210316*, where *20210316* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Vault* *v1* API can be found at the //! [official documentation site](https://developers.google.com/vault). diff --git a/gen/vectortile1-cli/Cargo.toml b/gen/vectortile1-cli/Cargo.toml index 464c1bb597..9e3e7a0acf 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.3+20210331" +version = "2.0.4+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.3+20210331" +version = "2.0.4+20210331" diff --git a/gen/vectortile1-cli/README.md b/gen/vectortile1-cli/README.md index 9f14e9c857..64c9fba469 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.3*. +This documentation was generated from the *Semantic Tile* API at revision *20210331*. The CLI is at version *2.0.4*. ```bash vectortile1 [options] diff --git a/gen/vectortile1-cli/mkdocs.yml b/gen/vectortile1-cli/mkdocs.yml index 4e348896cf..3a591bb17d 100644 --- a/gen/vectortile1-cli/mkdocs.yml +++ b/gen/vectortile1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Semantic Tile v2.0.3+20210331 +site_name: Semantic Tile v2.0.4+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 0118d0ff60..f557195b4d 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.3+20210331") + .version("2.0.4+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 c87b80e57a..513f2e900c 100644 --- a/gen/vectortile1/Cargo.toml +++ b/gen/vectortile1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vectortile1" -version = "2.0.3+20210331" +version = "2.0.4+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.3+20210331" +documentation = "https://docs.rs/google-vectortile1/2.0.4+20210331" license = "MIT" keywords = ["vectortile", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/vectortile1/README.md b/gen/vectortile1/README.md index c753bee030..a3137d9e52 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.3+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210331/google_vectortile1/SemanticTile) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/SemanticTile) ... * featuretiles - * [*get*](https://docs.rs/google-vectortile1/2.0.3+20210331/google_vectortile1/api::FeaturetileGetCall) + * [*get*](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/api::FeaturetileGetCall) * terraintiles - * [*get*](https://docs.rs/google-vectortile1/2.0.3+20210331/google_vectortile1/api::TerraintileGetCall) + * [*get*](https://docs.rs/google-vectortile1/2.0.4+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.3+20210331/google_vectortile1/SemanticTile)** +* **[Hub](https://docs.rs/google-vectortile1/2.0.4+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.3+20210331/google_vectortile1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vectortile1/2.0.3+20210331/google_vectortile1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vectortile1/2.0.3+20210331/google_vectortile1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vectortile1/2.0.3+20210331/google_vectortile1/client::Part)** + * **[Parts](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vectortile1/2.0.3+20210331/google_vectortile1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vectortile1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-vectortile1/2.0.3+20210331/google_vectortile1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vectortile1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210331/google_vectortile1/client::RequestValue) and -[decodable](https://docs.rs/google-vectortile1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vectortile1/2.0.3+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.4+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.3+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.4+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.3+20210331/google_vectortile1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vectortile1/2.0.4+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 b38f4bee75..5a0297868d 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/vectortile1/src/client.rs b/gen/vectortile1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/vectortile1/src/client.rs +++ b/gen/vectortile1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/vectortile1/src/lib.rs b/gen/vectortile1/src/lib.rs index 4c477aa5f1..74aa773c40 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.3+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Semantic Tile* *v1* API can be found at the //! [official documentation site](https://developers.google.com/maps/contact-sales/). diff --git a/gen/verifiedaccess1-cli/Cargo.toml b/gen/verifiedaccess1-cli/Cargo.toml index 08bc346347..ae4cc18886 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.3+20210302" +version = "2.0.4+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.3+20210302" +version = "2.0.4+20210302" diff --git a/gen/verifiedaccess1-cli/README.md b/gen/verifiedaccess1-cli/README.md index b2ed1fc7d3..10ea690345 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.3*. +This documentation was generated from the *verifiedaccess* API at revision *20210302*. The CLI is at version *2.0.4*. ```bash verifiedaccess1 [options] diff --git a/gen/verifiedaccess1-cli/mkdocs.yml b/gen/verifiedaccess1-cli/mkdocs.yml index 3ca8fba022..e2570a8281 100644 --- a/gen/verifiedaccess1-cli/mkdocs.yml +++ b/gen/verifiedaccess1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: verifiedaccess v2.0.3+20210302 +site_name: verifiedaccess v2.0.4+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 692c35309a..7794cfc491 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.3+20210302") + .version("2.0.4+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 7928968073..c8e38fa2f0 100644 --- a/gen/verifiedaccess1/Cargo.toml +++ b/gen/verifiedaccess1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-verifiedaccess1" -version = "2.0.3+20210302" +version = "2.0.4+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.3+20210302" +documentation = "https://docs.rs/google-verifiedaccess1/2.0.4+20210302" license = "MIT" keywords = ["verifiedaccess", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/verifiedaccess1/README.md b/gen/verifiedaccess1/README.md index 7b99165acb..8ffee5562e 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.3+20210302*, where *20210302* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210302/google_verifiedaccess1/Verifiedaccess) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/Verifiedaccess) ... -* [challenge](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/api::Challenge) - * [*create*](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/api::ChallengeCreateCall) and [*verify*](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/api::ChallengeVerifyCall) +* [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) @@ -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.3+20210302/google_verifiedaccess1/Verifiedaccess)** +* **[Hub](https://docs.rs/google-verifiedaccess1/2.0.4+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.3+20210302/google_verifiedaccess1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/client::CallBuilder) -* **[Resources](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/client::Part)** + * **[Parts](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-verifiedaccess1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-verifiedaccess1/2.0.3+20210302/google_verifiedaccess1/client::Delegate) to the -[Method Builder](https://docs.rs/google-verifiedaccess1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210302/google_verifiedaccess1/client::RequestValue) and -[decodable](https://docs.rs/google-verifiedaccess1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-verifiedaccess1/2.0.3+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.4+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.3+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.4+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.3+20210302/google_verifiedaccess1/client::RequestValue) are moved +* [request values](https://docs.rs/google-verifiedaccess1/2.0.4+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 6c8bd59a27..70a8846127 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/verifiedaccess1/src/client.rs b/gen/verifiedaccess1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/verifiedaccess1/src/client.rs +++ b/gen/verifiedaccess1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/verifiedaccess1/src/lib.rs b/gen/verifiedaccess1/src/lib.rs index f583f7a060..765044bdc2 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.3+20210302*, where *20210302* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *verifiedaccess* *v1* API can be found at the //! [official documentation site](https://developers.google.com/chrome/verified-access). diff --git a/gen/videointelligence1-cli/Cargo.toml b/gen/videointelligence1-cli/Cargo.toml index 9dec982a9b..fda1d9781a 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.3+20210325" +version = "2.0.4+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.3+20210325" +version = "2.0.4+20210325" diff --git a/gen/videointelligence1-cli/README.md b/gen/videointelligence1-cli/README.md index 50fe7ed18a..33b83fc6ae 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.3*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20210325*. The CLI is at version *2.0.4*. ```bash videointelligence1 [options] diff --git a/gen/videointelligence1-cli/mkdocs.yml b/gen/videointelligence1-cli/mkdocs.yml index 06ba297f59..b8f03058a5 100644 --- a/gen/videointelligence1-cli/mkdocs.yml +++ b/gen/videointelligence1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v2.0.3+20210325 +site_name: Cloud Video Intelligence v2.0.4+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 b2058a6e6b..7b73578047 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.3+20210325") + .version("2.0.4+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 0ee559a185..44a05dcbf1 100644 --- a/gen/videointelligence1/Cargo.toml +++ b/gen/videointelligence1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1" -version = "2.0.3+20210325" +version = "2.0.4+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.3+20210325" +documentation = "https://docs.rs/google-videointelligence1/2.0.4+20210325" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/videointelligence1/README.md b/gen/videointelligence1/README.md index feec6ef587..d01c3536c6 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.3+20210325*, where *20210325* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210325/google_videointelligence1/CloudVideoIntelligence) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/CloudVideoIntelligence) ... * operations - * [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::OperationProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::OperationProjectLocationOperationDeleteCall) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::OperationProjectLocationOperationGetCall) + * [*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.3+20210325/google_videointelligence1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::ProjectLocationOperationListCall) + * [*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) * videos - * [*annotate*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/api::VideoAnnotateCall) + * [*annotate*](https://docs.rs/google-videointelligence1/2.0.4+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.3+20210325/google_videointelligence1/CloudVideoIntelligence)** +* **[Hub](https://docs.rs/google-videointelligence1/2.0.4+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.3+20210325/google_videointelligence1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/client::CallBuilder) -* **[Resources](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/client::Part)** + * **[Parts](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1/2.0.3+20210325/google_videointelligence1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-videointelligence1/2.0.3+20210325/google_videointelligence1/client::Delegate) to the -[Method Builder](https://docs.rs/google-videointelligence1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210325/google_videointelligence1/client::RequestValue) and -[decodable](https://docs.rs/google-videointelligence1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1/2.0.3+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.4+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.3+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.4+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.3+20210325/google_videointelligence1/client::RequestValue) are moved +* [request values](https://docs.rs/google-videointelligence1/2.0.4+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 83c39d9ea3..a744b56ccb 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/videointelligence1/src/client.rs b/gen/videointelligence1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/videointelligence1/src/client.rs +++ b/gen/videointelligence1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/videointelligence1/src/lib.rs b/gen/videointelligence1/src/lib.rs index 30fa4abfbb..d9ebc5dede 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.3+20210325*, where *20210325* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Cloud Video Intelligence* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/video-intelligence/docs/). diff --git a/gen/videointelligence1_beta1-cli/Cargo.toml b/gen/videointelligence1_beta1-cli/Cargo.toml index 86e6c75eac..e48c038661 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.3+20171122" +version = "2.0.4+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.3+20171122" +version = "2.0.4+20171122" diff --git a/gen/videointelligence1_beta1-cli/README.md b/gen/videointelligence1_beta1-cli/README.md index 8610a774ee..9ce4288dca 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.3*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20171122*. The CLI is at version *2.0.4*. ```bash videointelligence1-beta1 [options] diff --git a/gen/videointelligence1_beta1-cli/mkdocs.yml b/gen/videointelligence1_beta1-cli/mkdocs.yml index 7fbbdc1211..6f65dfd462 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.3+20171122 +site_name: Cloud Video Intelligence v2.0.4+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 a566b1f395..cee801e9b4 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.3+20171122") + .version("2.0.4+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 c6f1dfa43a..4b032475f9 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.3+20171122" +version = "2.0.4+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.3+20171122" +documentation = "https://docs.rs/google-videointelligence1_beta1/2.0.4+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 b84c97145e..667416e76e 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.3+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20171122/google_videointelligence1_beta1/CloudVideoIntelligence) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/CloudVideoIntelligence) ... * videos - * [*annotate*](https://docs.rs/google-videointelligence1_beta1/2.0.3+20171122/google_videointelligence1_beta1/api::VideoAnnotateCall) + * [*annotate*](https://docs.rs/google-videointelligence1_beta1/2.0.4+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.3+20171122/google_videointelligence1_beta1/CloudVideoIntelligence)** +* **[Hub](https://docs.rs/google-videointelligence1_beta1/2.0.4+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.3+20171122/google_videointelligence1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/2.0.3+20171122/google_videointelligence1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-videointelligence1_beta1/2.0.3+20171122/google_videointelligence1_beta1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1_beta1/2.0.3+20171122/google_videointelligence1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1_beta1/2.0.3+20171122/google_videointelligence1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-videointelligence1_beta1/2.0.4+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. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-videointelligence1_beta1/2.0.3+20171122/google_videointelligence1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-videointelligence1_beta1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20171122/google_videointelligence1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-videointelligence1_beta1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1_beta1/2.0.3+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.4+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.3+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.4+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.3+20171122/google_videointelligence1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-videointelligence1_beta1/2.0.4+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 112c81f67f..dcb6c6fc18 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/videointelligence1_beta1/src/client.rs b/gen/videointelligence1_beta1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/videointelligence1_beta1/src/client.rs +++ b/gen/videointelligence1_beta1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/videointelligence1_beta1/src/lib.rs b/gen/videointelligence1_beta1/src/lib.rs index 6349bb7aba..82a9361bad 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.3+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! 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/). diff --git a/gen/vision1-cli/Cargo.toml b/gen/vision1-cli/Cargo.toml index 0538071c36..1d02697868 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/vision1-cli/README.md b/gen/vision1-cli/README.md index c0ad52a148..7309cacdd0 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.3*. +This documentation was generated from the *Vision* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash vision1 [options] diff --git a/gen/vision1-cli/mkdocs.yml b/gen/vision1-cli/mkdocs.yml index 42080ded4e..a973c28688 100644 --- a/gen/vision1-cli/mkdocs.yml +++ b/gen/vision1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vision v2.0.3+20210319 +site_name: Vision v2.0.4+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 4f570bbfb7..4b10b715fe 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.3+20210319") + .version("2.0.4+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 26111a9b95..79c1092768 100644 --- a/gen/vision1/Cargo.toml +++ b/gen/vision1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vision1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-vision1/2.0.4+20210319" license = "MIT" keywords = ["vision", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/vision1/README.md b/gen/vision1/README.md index 0c38585922..b4883b8b4f 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.3+20210319*, where *20210319* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_vision1/Vision) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/Vision) ... * files - * [*annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::FileAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::FileAsyncBatchAnnotateCall) -* [images](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::Image) - * [*annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ImageAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ImageAsyncBatchAnnotateCall) + * [*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) * locations - * [*operations get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::LocationOperationGetCall) -* [operations](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::Operation) - * [*cancel*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::OperationGetCall) and [*list*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::OperationListCall) + * [*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) * projects - * [*files annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectFileAnnotateCall), [*files async batch annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectFileAsyncBatchAnnotateCall), [*images annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectImageAnnotateCall), [*images async batch annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectImageAsyncBatchAnnotateCall), [*locations files annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationFileAnnotateCall), [*locations files async batch annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationFileAsyncBatchAnnotateCall), [*locations images annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationImageAnnotateCall), [*locations images async batch annotate*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationImageAsyncBatchAnnotateCall), [*locations operations get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationOperationGetCall), [*locations product sets add product*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetAddProductCall), [*locations product sets create*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetCreateCall), [*locations product sets delete*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetDeleteCall), [*locations product sets get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetGetCall), [*locations product sets import*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetImportCall), [*locations product sets list*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetListCall), [*locations product sets patch*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetPatchCall), [*locations product sets products list*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetProductListCall), [*locations product sets remove product*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductSetRemoveProductCall), [*locations products create*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductCreateCall), [*locations products delete*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductDeleteCall), [*locations products get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductGetCall), [*locations products list*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductListCall), [*locations products patch*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductPatchCall), [*locations products purge*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductPurgeCall), [*locations products reference images create*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductReferenceImageCreateCall), [*locations products reference images delete*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductReferenceImageDeleteCall), [*locations products reference images get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductReferenceImageGetCall), [*locations products reference images list*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectLocationProductReferenceImageListCall) and [*operations get*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/api::ProjectOperationGetCall) + * [*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) @@ -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.3+20210319/google_vision1/Vision)** +* **[Hub](https://docs.rs/google-vision1/2.0.4+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.3+20210319/google_vision1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/client::Part)** + * **[Parts](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vision1/2.0.3+20210319/google_vision1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-vision1/2.0.3+20210319/google_vision1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vision1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_vision1/client::RequestValue) and -[decodable](https://docs.rs/google-vision1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vision1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_vision1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vision1/2.0.4+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 1c44f6e4a2..cfc4bbde45 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/vision1/src/client.rs b/gen/vision1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/vision1/src/client.rs +++ b/gen/vision1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/vision1/src/lib.rs b/gen/vision1/src/lib.rs index 0b92c49eb7..0bf10b80b8 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.3+20210319*, where *20210319* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Vision* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/vision/). diff --git a/gen/webfonts1-cli/Cargo.toml b/gen/webfonts1-cli/Cargo.toml index 527103c48b..67539d739c 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.3+20210326" +version = "2.0.4+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.3+20210326" +version = "2.0.4+20210326" diff --git a/gen/webfonts1-cli/README.md b/gen/webfonts1-cli/README.md index 155c3502fc..c303680745 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.3*. +This documentation was generated from the *Webfonts* API at revision *20210326*. The CLI is at version *2.0.4*. ```bash webfonts1 [options] diff --git a/gen/webfonts1-cli/mkdocs.yml b/gen/webfonts1-cli/mkdocs.yml index 9bcb57be8e..101f6caace 100644 --- a/gen/webfonts1-cli/mkdocs.yml +++ b/gen/webfonts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Webfonts v2.0.3+20210326 +site_name: Webfonts v2.0.4+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 315c38183e..9cab516e53 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.3+20210326") + .version("2.0.4+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 a81983175c..e371468806 100644 --- a/gen/webfonts1/Cargo.toml +++ b/gen/webfonts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webfonts1" -version = "2.0.3+20210326" +version = "2.0.4+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.3+20210326" +documentation = "https://docs.rs/google-webfonts1/2.0.4+20210326" license = "MIT" keywords = ["webfonts", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/webfonts1/README.md b/gen/webfonts1/README.md index 568665f6c6..4fd9d58c66 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.3+20210326*, where *20210326* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210326/google_webfonts1/Webfonts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/Webfonts) ... -* [webfonts](https://docs.rs/google-webfonts1/2.0.3+20210326/google_webfonts1/api::Webfont) - * [*list*](https://docs.rs/google-webfonts1/2.0.3+20210326/google_webfonts1/api::WebfontListCall) +* [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) @@ -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.3+20210326/google_webfonts1/Webfonts)** +* **[Hub](https://docs.rs/google-webfonts1/2.0.4+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.3+20210326/google_webfonts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/2.0.3+20210326/google_webfonts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-webfonts1/2.0.3+20210326/google_webfonts1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webfonts1/2.0.3+20210326/google_webfonts1/client::Part)** + * **[Parts](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webfonts1/2.0.3+20210326/google_webfonts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-webfonts1/2.0.3+20210326/google_webfonts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-webfonts1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210326/google_webfonts1/client::RequestValue) and -[decodable](https://docs.rs/google-webfonts1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/2.0.3+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.4+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.3+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.4+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.3+20210326/google_webfonts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-webfonts1/2.0.4+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 43cc42985d..6d5b2c0f8f 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/webfonts1/src/client.rs b/gen/webfonts1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/webfonts1/src/client.rs +++ b/gen/webfonts1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/webfonts1/src/lib.rs b/gen/webfonts1/src/lib.rs index 5e8bab84b3..5e7b2c3aa7 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.3+20210326*, where *20210326* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Webfonts* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fonts/docs/developer_api). diff --git a/gen/webmasters3-cli/Cargo.toml b/gen/webmasters3-cli/Cargo.toml index 10b2addbe3..50bc5c9ca6 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.3+20190428" +version = "2.0.4+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.3+20190428" +version = "2.0.4+20190428" diff --git a/gen/webmasters3-cli/README.md b/gen/webmasters3-cli/README.md index 0675d98b56..8abaed8f7b 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.3*. +This documentation was generated from the *webmasters* API at revision *20190428*. The CLI is at version *2.0.4*. ```bash webmasters3 [options] diff --git a/gen/webmasters3-cli/mkdocs.yml b/gen/webmasters3-cli/mkdocs.yml index 1f1ec6d8e2..ac253c6947 100644 --- a/gen/webmasters3-cli/mkdocs.yml +++ b/gen/webmasters3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webmasters v2.0.3+20190428 +site_name: webmasters v2.0.4+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 2e46d33a62..c972e03067 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.3+20190428") + .version("2.0.4+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 8f9cef8f1e..d2123a01bb 100644 --- a/gen/webmasters3/Cargo.toml +++ b/gen/webmasters3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webmasters3" -version = "2.0.3+20190428" +version = "2.0.4+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.3+20190428" +documentation = "https://docs.rs/google-webmasters3/2.0.4+20190428" license = "MIT" keywords = ["webmasters", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/webmasters3/README.md b/gen/webmasters3/README.md index a977383ee9..df3b288777 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.3+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20190428/google_webmasters3/Webmasters) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/Webmasters) ... * searchanalytics - * [*query*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SearchanalyticQueryCall) + * [*query*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SearchanalyticQueryCall) * sitemaps - * [*delete*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SitemapDeleteCall), [*get*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SitemapGetCall), [*list*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SitemapListCall) and [*submit*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SitemapSubmitCall) + * [*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) * sites - * [*add*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SiteAddCall), [*delete*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SiteDeleteCall), [*get*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SiteGetCall) and [*list*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/api::SiteListCall) + * [*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) @@ -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.3+20190428/google_webmasters3/Webmasters)** +* **[Hub](https://docs.rs/google-webmasters3/2.0.4+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.3+20190428/google_webmasters3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/client::CallBuilder) -* **[Resources](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/client::Part)** + * **[Parts](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webmasters3/2.0.3+20190428/google_webmasters3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-webmasters3/2.0.3+20190428/google_webmasters3/client::Delegate) to the -[Method Builder](https://docs.rs/google-webmasters3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20190428/google_webmasters3/client::RequestValue) and -[decodable](https://docs.rs/google-webmasters3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/2.0.3+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.4+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.3+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.4+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.3+20190428/google_webmasters3/client::RequestValue) are moved +* [request values](https://docs.rs/google-webmasters3/2.0.4+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 8d66d694da..6988a31e1a 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/webmasters3/src/client.rs b/gen/webmasters3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/webmasters3/src/client.rs +++ b/gen/webmasters3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/webmasters3/src/lib.rs b/gen/webmasters3/src/lib.rs index e5f89f2b7c..3435145a77 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.3+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *webmasters* *v3* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/). diff --git a/gen/webrisk1-cli/Cargo.toml b/gen/webrisk1-cli/Cargo.toml index 6a5262cd6d..71ed444899 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.3+20210319" +version = "2.0.4+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.3+20210319" +version = "2.0.4+20210319" diff --git a/gen/webrisk1-cli/README.md b/gen/webrisk1-cli/README.md index 2f68baa504..b9d44be06d 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.3*. +This documentation was generated from the *Web Risk* API at revision *20210319*. The CLI is at version *2.0.4*. ```bash webrisk1 [options] diff --git a/gen/webrisk1-cli/mkdocs.yml b/gen/webrisk1-cli/mkdocs.yml index 9b733eadfb..58304e63f2 100644 --- a/gen/webrisk1-cli/mkdocs.yml +++ b/gen/webrisk1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Web Risk v2.0.3+20210319 +site_name: Web Risk v2.0.4+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 a5733f778f..ff67d9684c 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.3+20210319") + .version("2.0.4+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 9bb46140f6..8e59af8d3d 100644 --- a/gen/webrisk1/Cargo.toml +++ b/gen/webrisk1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webrisk1" -version = "2.0.3+20210319" +version = "2.0.4+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.3+20210319" +documentation = "https://docs.rs/google-webrisk1/2.0.4+20210319" license = "MIT" keywords = ["webrisk", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/webrisk1/README.md b/gen/webrisk1/README.md index 80e3c26c3a..7b37293160 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.3+20210319*, where *20210319* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210319/google_webrisk1/WebRisk) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/WebRisk) ... * hashes - * [*search*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::HasheSearchCall) + * [*search*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::HasheSearchCall) * projects - * [*operations cancel*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ProjectOperationListCall), [*submissions create*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ProjectSubmissionCreateCall) and [*uris submit*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ProjectUriSubmitCall) + * [*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) * threat lists - * [*compute diff*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::ThreatListComputeDiffCall) + * [*compute diff*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ThreatListComputeDiffCall) * uris - * [*search*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/api::UriSearchCall) + * [*search*](https://docs.rs/google-webrisk1/2.0.4+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.3+20210319/google_webrisk1/WebRisk)** +* **[Hub](https://docs.rs/google-webrisk1/2.0.4+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.3+20210319/google_webrisk1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/client::CallBuilder) -* **[Resources](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/client::Part)** + * **[Parts](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webrisk1/2.0.3+20210319/google_webrisk1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webrisk1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-webrisk1/2.0.3+20210319/google_webrisk1/client::Delegate) to the -[Method Builder](https://docs.rs/google-webrisk1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210319/google_webrisk1/client::RequestValue) and -[decodable](https://docs.rs/google-webrisk1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webrisk1/2.0.3+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.4+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.3+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.4+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.3+20210319/google_webrisk1/client::RequestValue) are moved +* [request values](https://docs.rs/google-webrisk1/2.0.4+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 2061338de0..d6d98cb26e 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/webrisk1/src/client.rs b/gen/webrisk1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/webrisk1/src/client.rs +++ b/gen/webrisk1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/webrisk1/src/lib.rs b/gen/webrisk1/src/lib.rs index 0563b0b04b..7445d7427b 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.3+20210319*, where *20210319* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Web Risk* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/web-risk/). diff --git a/gen/workflowexecutions1-cli/Cargo.toml b/gen/workflowexecutions1-cli/Cargo.toml index 8b69f16d5a..bffa50f693 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.3+20210316" +version = "2.0.4+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.3+20210316" +version = "2.0.4+20210316" diff --git a/gen/workflowexecutions1-cli/README.md b/gen/workflowexecutions1-cli/README.md index 8852fb76e3..eb12c239bd 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.3*. +This documentation was generated from the *Workflow Executions* API at revision *20210316*. The CLI is at version *2.0.4*. ```bash workflowexecutions1 [options] diff --git a/gen/workflowexecutions1-cli/mkdocs.yml b/gen/workflowexecutions1-cli/mkdocs.yml index d491214af9..04281075ae 100644 --- a/gen/workflowexecutions1-cli/mkdocs.yml +++ b/gen/workflowexecutions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Workflow Executions v2.0.3+20210316 +site_name: Workflow Executions v2.0.4+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 e6e538c108..01d5bc1be9 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.3+20210316") + .version("2.0.4+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 6ee6735b96..71d1c58efc 100644 --- a/gen/workflowexecutions1/Cargo.toml +++ b/gen/workflowexecutions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-workflowexecutions1" -version = "2.0.3+20210316" +version = "2.0.4+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.3+20210316" +documentation = "https://docs.rs/google-workflowexecutions1/2.0.4+20210316" license = "MIT" keywords = ["workflowexecutions", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/workflowexecutions1/README.md b/gen/workflowexecutions1/README.md index 862e404fa4..f978114287 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.3+20210316*, where *20210316* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210316/google_workflowexecutions1/WorkflowExecutions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/WorkflowExecutions) ... * projects - * [*locations workflows executions cancel*](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCancelCall), [*locations workflows executions create*](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCreateCall), [*locations workflows executions get*](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionGetCall) and [*locations workflows executions list*](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionListCall) + * [*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) @@ -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.3+20210316/google_workflowexecutions1/WorkflowExecutions)** +* **[Hub](https://docs.rs/google-workflowexecutions1/2.0.4+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.3+20210316/google_workflowexecutions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/client::Part)** + * **[Parts](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-workflowexecutions1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-workflowexecutions1/2.0.3+20210316/google_workflowexecutions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-workflowexecutions1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210316/google_workflowexecutions1/client::RequestValue) and -[decodable](https://docs.rs/google-workflowexecutions1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-workflowexecutions1/2.0.3+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.4+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.3+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.4+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.3+20210316/google_workflowexecutions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-workflowexecutions1/2.0.4+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 b0f4e1f1d4..d576cb93aa 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/workflowexecutions1/src/client.rs b/gen/workflowexecutions1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/workflowexecutions1/src/client.rs +++ b/gen/workflowexecutions1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/workflowexecutions1/src/lib.rs b/gen/workflowexecutions1/src/lib.rs index 3e2dc1bdc2..963e48f605 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.3+20210316*, where *20210316* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Workflow Executions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/workflows). diff --git a/gen/workflows1-cli/Cargo.toml b/gen/workflows1-cli/Cargo.toml index 189c54ac75..42d53b664a 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.3+20210318" +version = "2.0.4+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.3+20210318" +version = "2.0.4+20210318" diff --git a/gen/workflows1-cli/README.md b/gen/workflows1-cli/README.md index e9845f9035..77103b110d 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.3*. +This documentation was generated from the *Workflows* API at revision *20210318*. The CLI is at version *2.0.4*. ```bash workflows1 [options] diff --git a/gen/workflows1-cli/mkdocs.yml b/gen/workflows1-cli/mkdocs.yml index 549cedc9a1..9e8762aa1d 100644 --- a/gen/workflows1-cli/mkdocs.yml +++ b/gen/workflows1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Workflows v2.0.3+20210318 +site_name: Workflows v2.0.4+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 5842337436..b4fe1aeecf 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.3+20210318") + .version("2.0.4+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 aa3052fc9d..cd60a6b29a 100644 --- a/gen/workflows1/Cargo.toml +++ b/gen/workflows1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-workflows1" -version = "2.0.3+20210318" +version = "2.0.4+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.3+20210318" +documentation = "https://docs.rs/google-workflows1/2.0.4+20210318" license = "MIT" keywords = ["workflows", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/workflows1/README.md b/gen/workflows1/README.md index ad529df1f3..1c98249407 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.3+20210318*, where *20210318* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210318/google_workflows1/Workflows) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/Workflows) ... * projects - * [*locations get*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationOperationListCall), [*locations workflows create*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationWorkflowCreateCall), [*locations workflows delete*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationWorkflowDeleteCall), [*locations workflows get*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationWorkflowGetCall), [*locations workflows list*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationWorkflowListCall) and [*locations workflows patch*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/api::ProjectLocationWorkflowPatchCall) + * [*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) @@ -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.3+20210318/google_workflows1/Workflows)** +* **[Hub](https://docs.rs/google-workflows1/2.0.4+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.3+20210318/google_workflows1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/client::CallBuilder) -* **[Resources](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/client::Part)** + * **[Parts](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-workflows1/2.0.3+20210318/google_workflows1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-workflows1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-workflows1/2.0.3+20210318/google_workflows1/client::Delegate) to the -[Method Builder](https://docs.rs/google-workflows1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210318/google_workflows1/client::RequestValue) and -[decodable](https://docs.rs/google-workflows1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-workflows1/2.0.3+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.4+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.3+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.4+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.3+20210318/google_workflows1/client::RequestValue) are moved +* [request values](https://docs.rs/google-workflows1/2.0.4+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 cb2f9331ef..a71e75d6ee 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/workflows1/src/client.rs b/gen/workflows1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/workflows1/src/client.rs +++ b/gen/workflows1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/workflows1/src/lib.rs b/gen/workflows1/src/lib.rs index cf97eed122..ed01a9ce3b 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.3+20210318*, where *20210318* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *Workflows* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/workflows). diff --git a/gen/youtube3-cli/Cargo.toml b/gen/youtube3-cli/Cargo.toml index 7c42e773ec..6166318eb2 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.3+20210330" +version = "2.0.4+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.3+20210330" +version = "2.0.4+20210330" diff --git a/gen/youtube3-cli/README.md b/gen/youtube3-cli/README.md index f461edb19f..a58ecd525f 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.3*. +This documentation was generated from the *YouTube* API at revision *20210330*. The CLI is at version *2.0.4*. ```bash youtube3 [options] diff --git a/gen/youtube3-cli/mkdocs.yml b/gen/youtube3-cli/mkdocs.yml index 5ad2972c37..029897e67e 100644 --- a/gen/youtube3-cli/mkdocs.yml +++ b/gen/youtube3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube v2.0.3+20210330 +site_name: YouTube v2.0.4+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 b30c9674f7..448f88a9cd 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.3+20210330") + .version("2.0.4+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 28d817bc1e..c5139492ca 100644 --- a/gen/youtube3/Cargo.toml +++ b/gen/youtube3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtube3" -version = "2.0.3+20210330" +version = "2.0.4+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.3+20210330" +documentation = "https://docs.rs/google-youtube3/2.0.4+20210330" license = "MIT" keywords = ["youtube", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/youtube3/README.md b/gen/youtube3/README.md index e312b1155a..8d83b27e0e 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.3+20210330*, where *20210330* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210330/google_youtube3/YouTube) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/YouTube) ... -* [abuse reports](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::AbuseReport) - * [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::AbuseReportInsertCall) -* [activities](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Activity) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ActivityListCall) -* [captions](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Caption) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionDeleteCall), [*download*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionDownloadCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionUpdateCall) +* [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) * channel banners - * [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelBannerInsertCall) -* [channel sections](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelSection) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelSectionDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelSectionInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelSectionListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelSectionUpdateCall) -* [channels](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Channel) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelUpdateCall) -* [comment threads](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentThread) - * [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentThreadInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentThreadListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentThreadUpdateCall) -* [comments](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Comment) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentListCall), [*mark as spam*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentMarkAsSpamCall), [*set moderation status*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentSetModerationStatuCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CommentUpdateCall) -* [i18n languages](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::I18nLanguage) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::I18nLanguageListCall) -* [i18n regions](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::I18nRegion) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::I18nRegionListCall) -* [live broadcasts](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcast) - * [*bind*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcastBindCall), [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcastDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcastInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcastListCall), [*transition*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcastTransitionCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveBroadcastUpdateCall) -* [live chat bans](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatBan) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatBanDeleteCall) and [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatBanInsertCall) -* [live chat messages](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatMessage) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatMessageDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatMessageInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatMessageListCall) -* [live chat moderators](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatModerator) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatModeratorDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatModeratorInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveChatModeratorListCall) -* [live streams](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveStream) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveStreamDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveStreamInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveStreamListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::LiveStreamUpdateCall) -* [members](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Member) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::MemberListCall) -* [memberships levels](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::MembershipsLevel) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::MembershipsLevelListCall) -* [playlist items](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistItem) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistItemDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistItemInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistItemListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistItemUpdateCall) -* [playlists](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Playlist) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::PlaylistUpdateCall) + * [*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) * search - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::SearchListCall) -* [subscriptions](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Subscription) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::SubscriptionInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::SubscriptionListCall) -* [super chat events](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::SuperChatEvent) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::SuperChatEventListCall) + * [*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) * tests - * [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::TestInsertCall) -* [third party links](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThirdPartyLink) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThirdPartyLinkDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThirdPartyLinkInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThirdPartyLinkListCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThirdPartyLinkUpdateCall) -* [thumbnails](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Thumbnail) - * [*set*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThumbnailSetCall) -* [video abuse report reasons](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoAbuseReportReason) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoAbuseReportReasonListCall) -* [video categories](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoCategory) - * [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoCategoryListCall) -* [videos](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::Video) - * [*delete*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoDeleteCall), [*get rating*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoGetRatingCall), [*insert*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoListCall), [*rate*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoRateCall), [*report abuse*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoReportAbuseCall) and [*update*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoUpdateCall) + * [*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) * watermarks - * [*set*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::WatermarkSetCall) and [*unset*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::WatermarkUnsetCall) + * [*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) Upload supported by ... -* [*insert captions*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionInsertCall) -* [*update captions*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionUpdateCall) -* [*insert channel banners*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ChannelBannerInsertCall) -* [*set thumbnails*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::ThumbnailSetCall) -* [*insert videos*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::VideoInsertCall) -* [*set watermarks*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::WatermarkSetCall) +* [*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) Download supported by ... -* [*download captions*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/api::CaptionDownloadCall) +* [*download captions*](https://docs.rs/google-youtube3/2.0.4+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.3+20210330/google_youtube3/YouTube)** +* **[Hub](https://docs.rs/google-youtube3/2.0.4+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.3+20210330/google_youtube3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/client::CallBuilder) -* **[Resources](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/client::Part)** + * **[Parts](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtube3/2.0.3+20210330/google_youtube3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -213,17 +213,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +233,29 @@ Methods supporting uploads can do so using up to 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.3+20210330/google_youtube3/client::Delegate) to the -[Method Builder](https://docs.rs/google-youtube3/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210330/google_youtube3/client::RequestValue) and -[decodable](https://docs.rs/google-youtube3/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-youtube3/2.0.3+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.4+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.3+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.4+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.3+20210330/google_youtube3/client::RequestValue) are moved +* [request values](https://docs.rs/google-youtube3/2.0.4+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 40e6ac7d2e..af6f313e59 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/youtube3/src/client.rs b/gen/youtube3/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/youtube3/src/client.rs +++ b/gen/youtube3/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/youtube3/src/lib.rs b/gen/youtube3/src/lib.rs index dce453de0e..e17d0e30cd 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.3+20210330*, where *20210330* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *YouTube* *v3* API can be found at the //! [official documentation site](https://developers.google.com/youtube/). diff --git a/gen/youtubereporting1-cli/Cargo.toml b/gen/youtubereporting1-cli/Cargo.toml index 0a2516e900..3ff9216b31 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.3+20210329" +version = "2.0.4+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.3+20210329" +version = "2.0.4+20210329" diff --git a/gen/youtubereporting1-cli/README.md b/gen/youtubereporting1-cli/README.md index 3a7c9465c9..d04426b457 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.3*. +This documentation was generated from the *YouTube Reporting* API at revision *20210329*. The CLI is at version *2.0.4*. ```bash youtubereporting1 [options] diff --git a/gen/youtubereporting1-cli/mkdocs.yml b/gen/youtubereporting1-cli/mkdocs.yml index bc2543751d..282b83574c 100644 --- a/gen/youtubereporting1-cli/mkdocs.yml +++ b/gen/youtubereporting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube Reporting v2.0.3+20210329 +site_name: YouTube Reporting v2.0.4+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 58d63d492b..09e906f1a1 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.3+20210329") + .version("2.0.4+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 fa40f11574..48bea64d25 100644 --- a/gen/youtubereporting1/Cargo.toml +++ b/gen/youtubereporting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtubereporting1" -version = "2.0.3+20210329" +version = "2.0.4+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.3+20210329" +documentation = "https://docs.rs/google-youtubereporting1/2.0.4+20210329" license = "MIT" keywords = ["youtubereporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/youtubereporting1/README.md b/gen/youtubereporting1/README.md index d0c2634c71..d49b579449 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.3+20210329*, where *20210329* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +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*. 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.3+20210329/google_youtubereporting1/YouTubeReporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/YouTubeReporting) ... -* [jobs](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::Job) - * [*create*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::JobCreateCall), [*delete*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::JobDeleteCall), [*get*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::JobGetCall), [*list*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::JobListCall), [*reports get*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::JobReportGetCall) and [*reports list*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::JobReportListCall) +* [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) * media - * [*download*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::MediaDownloadCall) -* [report types](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::ReportType) - * [*list*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::ReportTypeListCall) + * [*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 supported by ... -* [*download media*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-youtubereporting1/2.0.4+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.3+20210329/google_youtubereporting1/YouTubeReporting)** +* **[Hub](https://docs.rs/google-youtubereporting1/2.0.4+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.3+20210329/google_youtubereporting1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/client::CallBuilder) -* **[Resources](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/client::Resource)** + * 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)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/client::Part)** + * **[Parts](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtubereporting1/2.0.3+20210329/google_youtubereporting1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/2.0.3+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.4+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.3+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.4+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.3+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.4+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.3+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.4+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 +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-youtubereporting1/2.0.3+20210329/google_youtubereporting1/client::Delegate) to the -[Method Builder](https://docs.rs/google-youtubereporting1/2.0.3+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.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. Respective methods will 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.3+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.4+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.3+20210329/google_youtubereporting1/client::RequestValue) and -[decodable](https://docs.rs/google-youtubereporting1/2.0.3+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.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 are valid. -Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/2.0.3+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.4+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.3+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.4+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.3+20210329/google_youtubereporting1/client::RequestValue) are moved +* [request values](https://docs.rs/google-youtubereporting1/2.0.4+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 f26ffcd919..f7e498f467 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.3".to_string(), + _user_agent: "google-api-rust-client/2.0.4".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.3`. + /// 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 { diff --git a/gen/youtubereporting1/src/client.rs b/gen/youtubereporting1/src/client.rs index cb9c11660d..de8151b4eb 100644 --- a/gen/youtubereporting1/src/client.rs +++ b/gen/youtubereporting1/src/client.rs @@ -105,7 +105,7 @@ pub struct ServerMessage { /// /// It contains methods to deal with all common issues, as well with the ones related to /// uploading media -pub trait Delegate { +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. diff --git a/gen/youtubereporting1/src/lib.rs b/gen/youtubereporting1/src/lib.rs index 01acc257a9..9b3b54f62c 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.3+20210329*, where *20210329* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*. +//! 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*. //! //! Everything else about the *YouTube Reporting* *v1* API can be found at the //! [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/).